WordPress.org

Ready to get started?Download WordPress

Forums

Ryu
[resolved] Over-riding "image" background color? (2 posts)

  1. bluhmpa
    Member
    Posted 8 months ago #

    Anyone,

    Is it possible to over-ride the background color choice (by Tonesque) for an "image" format?

    I see people talking about disabling it here, but not changing it. Help.

    P.

  2. paulwpxp
    Font hero
    Posted 8 months ago #

    This should override the bg color for all posts with image post format.

    #content article.format-image { background: yellow; }

    To override only certain post, you have to target post id and use this code, where 99 is the post id.

    #post-99.format-image { background: red; }

    The code goes in child theme stylesheet in case of using one, or in a Custom CSS plugin.
    http://wordpress.org/plugins/search.php?q=custom+css

Reply

You must log in to post.

About this Theme

About this Topic