CSS disappears

  • Unknown's avatar

    When I make changes to the CSS – the changes show initially. Then I change something else and all changes disappear when the browser is refreshed. The cache on the browser is clear. I am using the Snap theme. Any suggestions would be welcome. Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    What specific changes are you making? What is the code you’re using?

  • Unknown's avatar

    Below is what I have tried. I want to remove the lines below the header and above the footer. It showed when I saved it, but then disappeared.

    /*
    #main-header {border-bottom-color: white}
    #footer {border-top: white}
    */

  • Unknown's avatar

    Then I change something else and all changes disappear when the browser is refreshed.

    That could be happening if there are mistakes in your CSS.

    For example, this is a CSS comment:

    /*
    #main-header {border-bottom-color: white}
    #footer {border-top: white}
    */

    And it shouldn’t work at all if you save it using the “/*” and “*/” parts before and after it like you posted above. It’s strange though because it shouldn’t work in the preview either if with those characters in place.

    Could you try removing “/*” and “*/” from your Appearance > Customize > CSS editor and let me know if that doesn’t fix the problem for you?

  • Unknown's avatar

    It worked! Thanks. I can’t believe I missed that!

  • The topic ‘CSS disappears’ is closed to new replies.