WordPress.org

Forums

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

  1. bluhmpa
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic