• Hi there,
    i have a question.
    i want to change background colour for my image post,
    because if i set my post format as an image format, the background now becomes orange.
    how can i change that …. i want to do it for all my image post, so they have nice background colour that suits my web theme colour..

    thank you!

    my website

    digitalnoobs.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thanks for writing in, If you wish to change or make transparent the image format background color so you can set that by this CSS under Appearance > Theme Options > Custom CSS:

    .home .format-image, .page-template-blog-page-php .format-image {
      background: grey;
    }

    You can select a content background under Appearance > Styling > Custom Content Color as per shown here (see: http://prntscr.com/7jw8zb ).

    I also recommend you to an article which will remove featured images from your page when there’s no featured image is selected at the moment. https://theme4press.com/support/topic/featured-images-in-search-result-not-shown-when-no-image/

    Thread Starter nando.noobs

    (@nandonoobs)

    Hi thank you for your fast respond!
    it works like a charm.
    but i can’t change the colour except grey.
    i’ve tried input with colour code like #e3e3e3, but it’s not working..

    can you help me with this one?

    Hi nando,

    Please try this code under Appearance > Theme Options > Custom CSS:

    .home .format-image, .page-template-blog-page-php .format-image {
      background: #e3e3e3 !important;
    }

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘changing color image post background’ is closed to new replies.