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

Home Forums Support [Resolved] how to change the color on the spesific page #content.site-content

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #145287
    ssdtun

    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

    #145329
    Tom
    Lead Developer
    Lead Developer

    Hi there,

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

    Let me know πŸ™‚

    #145337
    Sum

    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

    #145407
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #145414
    Sum

    Thank You so much,

    It works, πŸ™‚

    #145416
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.