Jump to content

How can I add margin with full background image on the mobile?

Recommended Posts

Site URL: https://seonto.kr/sleeptalking

Hi. I want to add a margin on the mobile only.
So I add this code.

 

        @media screen and (max-width: 767px) {
                body
                    {
                    padding-left: 10px;
                    padding-right: 10px;
                    }
                }

 

And then, I can't use the full background image anymore ;(
Pc version is fine, but not the mobile.
How can I setting the mobile margin with full background image?
Please letting me know. Thanks!

 

IMG_1542.jpg

IMG_1543.jpg

Edited by seonto
Link to comment
  • seonto changed the title to How can I add margin with full background image on the mobile?
  • Replies 2
  • Views 343
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.