• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

What happened to the code styling?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Forum Bugs and Suggestions › What happened to the code styling?

This topic is: resolved

Tagged: code snippets, faq

  • This topic has 4 replies, 4 voices, and was last updated 9 years, 10 months ago by Tom.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 7, 2016 at 1:01 pm #178518
    Victor Font
    Moderator

    For the past couple of days, the code styling font color is almost too light to read. Older posts have black text on a gray background. Recent posts have gray text on a gray background. I also noticed the the code is now wrapped in pre and code elements. Older posts were only wrapped in pre. Can someone please fix the color so we can read it easily again?


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 7, 2016 at 2:05 pm #178532
    Kyle Rumble
    Member

    I noticed that the font colour on the code snippets makes it very hard to read. Hopefully I'm not the only one who might be a little visually challenged! 🙂

    I'm not sure where else to mention this.

    .entry-content code {
        background-color: #222;
        /* color: #ddd;  remove this */
    }
    February 8, 2016 at 11:46 pm #178627
    Tom
    Participant

    I've been using Stylebot to adjust for this. Also for the too-wide (IMO) presentation of posts and replies with the new wider site.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    February 9, 2016 at 7:52 am #178643
    Susan
    Moderator

    Community Forum FAQs

    February 9, 2016 at 10:46 am #178659
    Tom
    Participant

    Hi Susan,

    Some testing here:

    <?php echo 'Hello World'; ?>
    <h1>Hello World</h1>
    #id .class {
        display: block;
        float: left;
    }

    The above samples are copied from the cited FAQ section 5, but do not work unless also wrapped in backticks as this CSS sample shows (, Use of backticks is not documented in the FAQ:

    #id .class {
        display: block;
        float: left;
    }

    Plain Text wrapped in code backticks << using the "code" button in the editor

    Each of these "backticked" samples is barely legible. It seems obvious that both the FAQ and the forum styling fall short for sharing code snippets outside of Gists. Sharing snippets this way is likely to be problematic.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble