WordPress.org

Ready to get started?Download WordPress

Forums

Ryu
Disable Coloured Background for Image Posts (2 posts)

  1. jordanhuxley
    Member
    Posted 1 year ago #

    For image posts, the post background is "matched" with the colour(s) of the image file.

    How can this be disabled so that it is always a white background?

  2. Kathryn
    Automattic Happiness Engineer
    Posted 11 months ago #

    Hi there, you can disable the customized colour background on image post types by creating a child theme that removes the Tonesque class on image posts:

    In your child theme, in content-image.php, you could add // to "comment out" (disable) this line:

    <?php // ryu_tonesque_css(); // Print the post specific style ?>

    If you're new to child themes, you can explore these guides:

    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://vimeo.com/49770088

    Just let me know if you need further help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.