Jump to content

Left/right margin or padding for mobile -Devlin template

Recommended Posts

Hi, I'm trying to reduce the left/right margin or padding for mobile -Devlin template.

www.blankforces.com 

I have tried some css but haven't been able to figure anything out that works.

You can see in the attached image that on mobile the margins are pretty big... it would be great if they were about a third of the width.

Thanks in advance for any help/suggestions!

-Kevin

 

site margins.jpg

Link to comment
  • Replies 5
  • Created
  • Last Reply

Hi Kevin

Great to see a Devlin site; there aren't many of those left.

By default, the mobile padding is 40px. To reduce this to 14px, you can add this to Design > Custom CSS:

@media (max-width: 640px) {
  #site>.wrapper, #footer>.wrapper {
    padding: 14px;
  }
}

-Paul

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

Hey Paul... it looks like there is some small graphic issue. I'm using an iPhone and the Google Chrome browser and get a horizontal white line near the bottom when I'm scrolling. I checked on iPhone Safari app as well... the Safari browser shows the same horizontal white line but it is very close to the bottom, so it is not as noticable. It's not a huge deal but it would be great if you have a suggestion.  Thanks again... that was a huge help!! -Kevin

problem.JPG

Link to comment

No problem 😀

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.