WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove background image on mobile

[Resolved] Remove background image on mobile

  • I have a background that, whether I scale or not, takes over the screen on mobile devices so I’d like to simply remove it from mobile altogether. It looks good on an iPad so I’m not worried about tablet resolution, just mobile if possible.

    I’ve searched around and tried putting a number of custom CSS suggestions into the custom CSS box under “Appearance” but nothing has worked so far. Thanks, I appreciate your time.

    Site: buddhaimonia.com

Viewing 1 replies (of 1 total)
  • Use the Custom CSS field in the Customize menu and add this:

    @media only screen and (max-width : 35em) {
    body.custom-background { background-image: none; }
    }

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Remove background image on mobile’ is closed to new replies.