WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. buddhaimonia
    Member
    Posted 5 months 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 5 months 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; }
    }

Reply

You must log in to post.

About this Theme

About this Topic