Site logo

Archived topic

how to change the color on the spesific page #content.site-content

5 replies · Started by ssdtun on October 17, 2015

Viewing posts 1–6 of 6

Hi there,

Are those white blocks happening on the homepage? It looks like you may have fixed it?

Let me know :)

Hi Tom,
thanks for your reply
I was trying to fix those small white blocks. I wanted to change the color to #ecf0f2
the target area would be #content.site-content but I need only in the homepage which the page code is #post-984
do you have an idea how to do it ? I am not an expert by the way, just try to play with CSS but got stuck on this.

Thanks for your assistance

If you're only trying to target the homepage, you can use this CSS:

.home #content.site-content {

}

WordPress adds the home class to the body element on the homepage.

Let me know if you need more info :)

Thank You so much,

It works, :)

You're welcome :)

This archived topic is closed to new replies.