bananabread Posted March 19, 2022 Share Posted March 19, 2022 (edited) Site URL: https://www.kinnju.com/ Password: twiase I'm trying to remove the padding above the gallery in order to get rid of the area marked with red. I've tried the following code via Design > Custom CSS and nothing seems to change when I save it: .gallery-grid { padding-top: 0 !important; } .gallery-grid.gallery-grid--layout-grid { padding-top: 0px; padding-bottom: 0px; } [data-section-id="section ID of the gallery"] .content-wrapper {padding-top: 0px; padding-bottom: 0px;} [data-section-id="section ID of the gallery"] .content-wrapper {padding-top: 0px !important; padding-bottom: 0px !important;} I'm not too sure if I'm even putting in the code correctly because nothing happens even after I save it. Any help would be greatly appreciated Edited March 19, 2022 by bananabread formatting Link to comment
Solution Jia Posted March 19, 2022 Solution Share Posted March 19, 2022 2 hours ago, bananabread said: Site URL: https://www.kinnju.com/ Password: twiase I'm trying to remove the padding above the gallery in order to get rid of the area marked with red. I've tried the following code via Design > Custom CSS and nothing seems to change when I save it: .gallery-grid { padding-top: 0 !important; } .gallery-grid.gallery-grid--layout-grid { padding-top: 0px; padding-bottom: 0px; } [data-section-id="section ID of the gallery"] .content-wrapper {padding-top: 0px; padding-bottom: 0px;} [data-section-id="section ID of the gallery"] .content-wrapper {padding-top: 0px !important; padding-bottom: 0px !important;} I'm not too sure if I'm even putting in the code correctly because nothing happens even after I save it. Any help would be greatly appreciated Hi, try adding this to custom css and let me know how it goes 🙂 .gallery-masonry[data-width="full"] { padding-top: 0px !important; } Please give this a 👍 if it helps www.sevenstars.studiowww.instagram.com/sevenstars.studio Link to comment
bananabread Posted March 20, 2022 Author Share Posted March 20, 2022 12 hours ago, Jia said: .gallery-masonry[data-width="full"] { padding-top: 0px !important; } Thank you so much this worked!! Jia 1 Link to comment
Robert-N Posted June 14, 2022 Share Posted June 14, 2022 On 3/19/2022 at 7:52 AM, Jia said: Hi, try adding this to custom css and let me know how it goes 🙂 .gallery-masonry[data-width="full"] { padding-top: 0px !important; } Hello! @Jia I'm trying to accomplish the same thing by removing the padding above my grid on the homepage but this coding did not work for me when I added to Custom CSS. Any idea how to resolve this?Site URL: https://watermelon-tomato-em22.squarespace.com/ Thank you! Robert Link to comment
tuanphan Posted June 15, 2022 Share Posted June 15, 2022 9 hours ago, Robert-N said: Hello! @Jia I'm trying to accomplish the same thing by removing the padding above my grid on the homepage but this coding did not work for me when I added to Custom CSS. Any idea how to resolve this?Site URL: https://watermelon-tomato-em22.squarespace.com/ Thank you! Robert Use this CSS div#gridThumbs { padding-top: 0px; } Robert-N 1 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
Robert-N Posted June 15, 2022 Share Posted June 15, 2022 5 hours ago, tuanphan said: Use this CSS div#gridThumbs { padding-top: 0px; } Thank you! This worked 😊 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