• 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

Styling wordpress formats in Prose

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 › Archived Forums › General Discussion › Styling wordpress formats in Prose

This topic is: not resolved

Tagged: Post Formats, Prose

  • This topic has 5 replies, 2 voices, and was last updated 13 years ago by rfmeier.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 4, 2013 at 6:27 am #43995
    jonbuscall
    Member

    I see that post formats are showing up in Prose when composing a post; however, I can't see where to style them with CSS:

    I've tried adding, for example, the following in the Custom CSS  but it doesn't get picked up:

    .format-audio,
    {
    	margin: 0 0 20px;
    	padding: 0 0 10px;
    }
    
    Aren't posts included in the styling ? 
    
    Any help would be greatly appreciated.

    http://www.jontusmedia.com | http://www.bassethounds.nu

    June 4, 2013 at 7:50 am #44002
    rfmeier
    Member

    Hello,

    Make sure your the css rules you are creating are not getting overrode by other rules.  Do you have a link where these rules are not being applied properly?


    Ryan Meier – Twitter

    June 4, 2013 at 8:13 am #44007
    jonbuscall
    Member

    Hi,

    A test post is here: http://dev.jonbuscall.com/resources-box/

    It's set as an audio format.

    And I've put this code in Custom CSS in Prose

    .format-audio,
    {
    {background-color:#b0c4de;}
    }


    http://www.jontusmedia.com | http://www.bassethounds.nu

    June 4, 2013 at 8:41 am #44012
    rfmeier
    Member

    Within the Chrome inspector, I applied the following css rules;

    /* for single page post format audio */
    .single .format-audio {
        background: #B0C4DE;
    }
    /* for global post format audio */
    .format-audio {
        background: #B0C4DE;
    }

    I noticed there are some .post background styling around line ~1156.  Make sure these are applied after that to avoid previous styles overriding the .format-aduio styling.

    Try that and let me know how it turns out.


    Ryan Meier – Twitter

    June 4, 2013 at 12:02 pm #44056
    jonbuscall
    Member

    That worked ! Thanks.


    http://www.jontusmedia.com | http://www.bassethounds.nu

    June 4, 2013 at 12:04 pm #44057
    rfmeier
    Member

    You are welcome.  I am glad I could help.


    Ryan Meier – Twitter

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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