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) {
                    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!




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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Change your code to this code

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


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.