juliaprather Posted February 8, 2023 Share Posted February 8, 2023 (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, 2023 by juliaprather clarity Link to comment
Solution paul2009 Posted February 9, 2023 Solution Share Posted February 9, 2023 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 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
juliaprather Posted February 9, 2023 Author Share Posted February 9, 2023 Excellent, Paul. THANKS! Link to comment
Guest Posted February 9, 2023 Share Posted February 9, 2023 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, 2023 Share Posted February 11, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted February 11, 2023 Share Posted February 11, 2023 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, 2023 Share Posted February 15, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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