Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19999

    Hi, I have a background image that I uploaded via the wp admin for my site (using the Angular theme). It looks grat on my monitor, but i want to be able to hide it on smaller/cell phone resolutions. i tried adding this to my custom css file bit it didn’t work. any idea how to do this?

    body {

    background-color: #FFF;

    background-image: none;

    }

    #105926

    Hi,

    You have to use Media Queries. Can you give us a link to your website?

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

    body {
    background-color: #FFF;
    background-image: none;
    }

    }

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hide background image at smaller screen size’ is closed to new replies.