lamdra Posted November 5, 2021 Share Posted November 5, 2021 Site URL: https://midnight-revival.squarespace.com Does anyone know how I can remove the padding from this section and the images within. Essentially I want the 2 images to take up the entire section but I can't seem to get rid of the background at the bottom and on the sides in mobile. Images attached. https://midnight-revival.squarespace.com password: midnight I'm currently using this code but still get a sliver on the bottom for desktop and all around on mobile: section[data-section-id="61816aad28ce603e37e25798"] .content-wrapper { padding-top:0 !important; padding-bottom:0 !important; padding-right:0 !important; padding-left:0 !important; } #block-yui_3_17_2_1_1636068733069_2859 { padding: 0px !important; } #block-yui_3_17_2_1_1636068733069_3898 { padding: 0px !important; } Link to comment
Beyondspace Posted November 6, 2021 Share Posted November 6, 2021 On 11/5/2021 at 7:02 AM, lamdra said: Site URL: https://midnight-revival.squarespace.com Does anyone know how I can remove the padding from this section and the images within. Essentially I want the 2 images to take up the entire section but I can't seem to get rid of the background at the bottom and on the sides in mobile. Images attached. https://midnight-revival.squarespace.com password: midnight I'm currently using this code but still get a sliver on the bottom for desktop and all around on mobile: section[data-section-id="61816aad28ce603e37e25798"] .content-wrapper { padding-top:0 !important; padding-bottom:0 !important; padding-right:0 !important; padding-left:0 !important; } #block-yui_3_17_2_1_1636068733069_2859 { padding: 0px !important; } #block-yui_3_17_2_1_1636068733069_3898 { padding: 0px !important; } Is it the result you want to achieve? padding.mp4 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Solution Beyondspace Posted November 6, 2021 Solution Share Posted November 6, 2021 Try section[data-section-id="61846d6adeb0e63272bb2812"] .content-wrapper { padding:0 !important; } Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too lamdra 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
lamdra Posted November 6, 2021 Author Share Posted November 6, 2021 6 hours ago, bangank36 said: Try section[data-section-id="61846d6adeb0e63272bb2812"] .content-wrapper { padding:0 !important; } Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too That did it! Thank you! Can you tell me how you resolved it? Seems like I was just targeting the wrong section id but I thought I had it identified correctly. Thanks for your help. Link to comment
tuanphan Posted November 7, 2021 Share Posted November 7, 2021 14 hours ago, lamdra said: That did it! Thank you! Can you tell me how you resolved it? Seems like I was just targeting the wrong section id but I thought I had it identified correctly. Thanks for your help. Use this tool to find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
lamdra Posted November 8, 2021 Author Share Posted November 8, 2021 On 11/7/2021 at 1:28 AM, tuanphan said: Use this tool to find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en Thanks for that, I was using a different extension that called out the header section. Link to comment
Desnoir Posted October 25, 2022 Share Posted October 25, 2022 Hi @bangank36 @tuanphan is there any way to apply this code to all sections on a website? Thanks 🙂 Link to comment
Beyondspace Posted October 25, 2022 Share Posted October 25, 2022 58 minutes ago, Desnoir said: Hi @bangank36 @tuanphan is there any way to apply this code to all sections on a website? Thanks 🙂 Just remove the section id so it would affect all element which match with your css selector. However, you need to be carefully for the global effect on your site Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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