CSS suddenly stopped working

  • Unknown's avatar

    Hello I’ve been using a CSS code to prevent background image from displaying on mobile devices, it used to work perfectly until now. I didn’t change the code in any way and even reloading an older revision of the page doesn’t fix the problem.

    Here is the CSS code (note I’m also using a CSS to hide the action bar and that one still works):

    @media only screen and (max-width: 781px) {

    body {

    background-image: none;

    }

    }

    #actionbar {

    display: none;

    }

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

  • Unknown's avatar

    So I’ve finally made it work. I had to change the code to:

    @media only screen and (max-width: 781px) {
    body {
    background-image: none !important;
    }
    }

    for some reason.

  • I’m glad you were able to get that to work. I’ve also replied to the message you sent to our help center.

  • The topic ‘CSS suddenly stopped working’ is closed to new replies.