[codex] Fix WordPress guide styling - #100
Merged
Merged
Conversation
Co-authored-by: OpenAI Codex <codex@openai.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the WordPress “BisonNotes AI” user guide HTML so its embedded stylesheet survives WordPress auto-paragraph formatting, restoring the intended guide layout and overriding the Twenty Twenty theme’s default title/header styling.
Changes:
- Replaces the multi-line
<style>block with a single compact/minified CSS line to avoid WordPress inserting paragraph tags inside the stylesheet. - Adds maintainer comments explaining why the CSS must remain compact for WordPress pasting.
- Extends the Twenty Twenty title/header hiding rule to include the
.singular .entry-headerselector.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<style>block into a single continuous CSS block so WordPress auto-paragraph formatting does not inject</p><p>into the stylesheet..singular .entry-headerselector to the existing Twenty Twenty page-title hiding rule.Diagnosis
The live page at https://www.bisonnetworking.com/bisonnotes-ai/ had the guide content, but WordPress inserted literal paragraph tags inside the
<style>block. That caused the guide stylesheet to stop applying, so the Twenty Twenty theme controlled the page title, hero, heading sizes, cards, and callout formatting.Validation
.bnwrapper existed while hero/heading/card styles were being overridden by the theme.<p>/</p>tags, and still contains the key.bn-hero,.bn h2, and.singular .entry-headerrules.git diff --check.No app build or Swift tests were run because this is a WordPress HTML documentation-only change.