Site logo

simple css not working on individual pages

Home Forums Support simple css not working on individual pages

Home Forums Support simple css not working on individual pages

  • This topic has 3 replies, 2 voices, and was last updated 10 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #211033
    Kate

    I’m trying to add a different background to my landing page using your Simple CSS plugin. The problem is, it’s not working anymore. It worked for a day or two when I used this code:

    body {
    background-image: url(http://cloverkate.com/wp-content/uploads/2016/07/ivy2.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    }

    but somehow it reset and now nothing works. It works if I use the developer tools on my live site, so I know it’s not the code. I’ve also tried setting the backgrounds in the gp customizer then using this code on all the other pages:

    body {
    background-image: none;
    }

    but again, it’s not working. I would really appreciate your help!

    #211067
    Tom
    Lead Developer
    Lead Developer

    Hi Kate,

    Interesting, could you link me to the page it’s not working on?

    #211299
    Kate

    Yes, here it is. http://cloverkate.com

    #211350
    Tom
    Lead Developer
    Lead Developer

    I see the code in there, but it’s not being read.

    This usually means that some CSS above it is breaking syntax, causing the rest of the code not to be read.

    Try validating your custom CSS: https://jigsaw.w3.org/css-validator/#validate_by_input

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