Viewing 9 replies - 1 through 9 (of 9 total)
  • Try:

    body.custom-background {
    background-image: none !important;
    }

    Oh wait a second, are you trying to change to another background image or get rid of it entirely?

    Thread Starter Daithy

    (@daithy)

    Just get id of it. If I wanted to change the pic, I’d only change the path (taking into account the path to be valid)

    Anyway, I’ll try it now , and will let you know shortly

    Thread Starter Daithy

    (@daithy)

    Right, your code worked ;), but everywhere. It got rid of the background image in all the my pages. Somehow I’ll have isolate just the one in the blog.

    onlineteacher123.com

    See if this will work:

    body.blog {
    background-image: none !important;
    }

    Thread Starter Daithy

    (@daithy)

    Man you are so cool!! Totally worked! I was thinking of putting there the page id, I guess that’d also work.

    Thanks

    Sometimes, yes, but in this case, the body tag only has the class of blog:

    <body class="blog custom-background">

    Thread Starter Daithy

    (@daithy)

    Thank you, I just notice that I have another problem. I installed a plugin a while ago, “custom fonts”, and only now I have noticed that all the white borders around my pictures have disappeared, I de-activated the plugin, and it still remains as such. How do I tell my theme to start doing the nice white borders around my pics. Thanks

    Thread Starter Daithy

    (@daithy)

    That’s all sorted, it was my fault. I had disabled a line in the actual style.css. I ran a comparison with the original and found the problem.
    http://www.alanhart.co.uk/tools/compare-css.php#CSSText

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can I disable css rule’ is closed to new replies.