Jump to content

Left/right margin or padding for mobile -Devlin template

Recommended Posts

Posted

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

  • Replies 5
  • Views 4k
  • Created
  • Last Reply
Posted

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

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

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

Posted

It looks like it has fixed itself. The horizontal line, is the horizontal scroll bar. I restarted Chrome on mobile and the bar is much lower now. Thanks again for your help Paul!!!

Posted

No problem 😀

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

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.