Archived topic
how to change the color on the spesific page #content.site-content
5 replies · Started by ssdtun on October 17, 2015
Hi Tom,
I would like to know what CSS code to change the color on the spesific page #content.site-content ?
sorry if this type of question was asked before.
this is what I am talking about http://www.maplelearning.org/wp-content/uploads/2015/10/web.png
this is my website http://www.maplelearning.org that you can take a look at
by the way I am very happy to purchase your add-ons :)
Thanks for your assistance
Sum
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 :)
