• 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

Mindstream post-format-image Background Color

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 › Design Tips and Tricks › Mindstream post-format-image Background Color

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 12 years, 3 months ago by katymartin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 3, 2014 at 1:22 pm #98332
    katymartin
    Member

    Hi there. I've located the CSS for post-format-image in the Mindstream theme and am able to change the background color of the icons to something other than just #DDDDDD (default).

    But my question is about how I might have a different background color for each post format? For example, the "video" post icon would have a yellow background. The "status" post icon would have a red background. The "aside" post icon would have blue background. Etc.

    Anyone know how i might achieve this?

    http://primnotes.com/
    April 3, 2014 at 3:17 pm #98348
    Mike Imken
    Member

    One option seems to be adding css for the format classes. Though you want some padding as well.

    .format-video {
    background-color: #ffffc0;
    padding: 10px;
    }
    
    .format-aside {
    background-color: #dadeff;
    padding: 10px
    }

    And you may want to remove the border-bottom on the .post class. Or perhaps change the color to a another shade of your specific post format color. Might be a nice effect.


    Marketer – Designer – Developer
    http://www.TargetPublic.com

    April 3, 2014 at 4:51 pm #98362
    katymartin
    Member

    Thanks Mike. But that seems to change the background color of the post body itself. I'm looking to change the background color of the ICON only.

    The CSS for this seems to be: .post-format-image (but that's for all of them)

    Is there a way to break out the CSS so I can style the icon backgrounds differently based on the "alt=" distinction? (i.e. alt="aside")

    April 4, 2014 at 8:43 am #98452
    Mike Imken
    Member

    I see! I didn't read your request very carefully did I? Yes, my initial suggestion would change the entire background for each post format.

    To change the specific post format image backgrounds, you could add this:

    .format-video .post-format-image {
    background-color: #ffffc0;
    }
    
    .format-aside .post-format-image {
    background-color: #dadeff;
    }
    

    Marketer – Designer – Developer
    http://www.TargetPublic.com

    April 4, 2014 at 10:10 am #98473
    katymartin
    Member

    Mike... you're a gentleman and a scholar. Give yourself a pat on the back because your solution worked flawlessly.

    Consider this question resolved.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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