kevin310 Posted January 21, 2020 Share Posted January 21, 2020 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 Link to comment
paul2009 Posted January 21, 2020 Share Posted January 21, 2020 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
kevin310 Posted January 21, 2020 Author Share Posted January 21, 2020 That worked perfectly Paul! Thanks so much for the very fast reply! Very much appreciated! -Kevin Link to comment
kevin310 Posted January 21, 2020 Author Share Posted January 21, 2020 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 Link to comment
kevin310 Posted January 21, 2020 Author Share Posted January 21, 2020 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!!! Link to comment
paul2009 Posted January 21, 2020 Share Posted January 21, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.