juliaprather Posted February 8 Share Posted February 8 (edited) Hello people of Squarespace! The first pic shows how the gallery looks on desktop, which is great. The second pic is on mobile. I'm trying to add vertical padding between the rows of items on mobile so you can easily tell which words go with which icons. Anybody got some code for that? Thank you! https://www.j2tampa.com/ Edited February 8 by juliaprather clarity Link to comment
Solution paul2009 Posted February 9 Solution Share Posted February 9 19 hours ago, juliaprather said: I'm trying to add vertical padding between the rows of items on mobile This is specific to this site (due to the block ID). It will add the margin to both desktop and mobile. If you don't want the extra margin on desktop you can wrap it in a media query. #block-yui_3_17_2_1_1669326727826_11330 .sqs-gallery-block-grid .sqs-gallery-design-grid-slide .margin-wrapper { margin-bottom: 34px; } Did this help? Please give feedback by clicking an icon below ⬇️ juliaprather 1 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
juliaprather Posted February 9 Author Share Posted February 9 Excellent, Paul. THANKS! Link to comment
Guest Posted February 9 Share Posted February 9 4 hours ago, paul2009 said: This is specific to this site (due to the block ID). It will add the margin to both desktop and mobile. If you don't want the extra margin on desktop you can wrap it in a media query. #block-yui_3_17_2_1_1669326727826_11330 .sqs-gallery-block-grid .sqs-gallery-design-grid-slide .margin-wrapper { margin-bottom: 34px; } Did this help? Please give feedback by clicking an icon below ⬇️ I am looking for a similar code but instead of the bottom of the whole grid, I just want to increase the padding between the gallery grid and the image title. Is there a code for that? Link to comment
tuanphan Posted February 11 Share Posted February 11 On 2/9/2023 at 11:57 PM, TLCDesign said: I am looking for a similar code but instead of the bottom of the whole grid, I just want to increase the padding between the gallery grid and the image title. Is there a code for that? Can you share link to your site? Above site, image title is an image, so we can't check the code 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
Guest Posted February 11 Share Posted February 11 36 minutes ago, tuanphan said: Can you share link to your site? Above site, image title is an image, so we can't check the code thelonecrowd.com/shop password: portfolio The problem is the space between gallery item and the title Link to comment
tuanphan Posted February 15 Share Posted February 15 On 2/11/2023 at 7:31 PM, Guest said: thelonecrowd.com/shop password: portfolio The problem is the space between gallery item and the title Add to Design > Custom CSS #block-yui_3_17_2_1_1675344067019_18009 .sqs-gallery-block-grid .sqs-gallery-design-grid-slide .margin-wrapper { margin-bottom: 20px !important; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment