WordPress.org

Forums

Decode
[resolved] Remove background image on mobile (2 posts)

  1. buddhaimonia
    Member
    Posted 1 year ago #

    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

  2. Scott Smith
    Member
    Theme Author

    Posted 1 year ago #

    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; }
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic