How to remove background-image in mobile

Home Forums Support How to remove background-image in mobile

Home Forums Support How to remove background-image in mobile

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203242
    Pekka Murtokangas

    So, I want to remove body background-image in mobile view. I have tried this: @media (max-width: 960px) {
    {
    background-image: none !important;
    }
    }

    It does not work.

    #203243
    Pekka Murtokangas

    Ok, I solved it: /* Portrait tablets and small desktops */

    @media (min-width: 768px) and (max-width: 991px) {
    
              body{
            background-image: none;
        }
    
    }
    
    /* Landscape phones and portrait tablets */
    @media (max-width: 767px) {
    
              body{
            background-image: none;
        }
    
    }
    
    /* Portrait phones and smaller */
    @media (max-width: 480px) {
    
              body{
            background-image: none;
        }
    
    }
    • This reply was modified 5 years, 1 month ago by Tom.
    #203348
    Tom
    Lead Developer
    Lead Developer
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.