Pinkies Posted December 4, 2020 Share Posted December 4, 2020 Site URL: https://southtowncreative.net/product-photography-stand-out Hi Friends. Looking to make this code block full width on my Square space 7.0 site. https://southtowncreative.net/product-photography-stand-out #block-yui_3_17_2_1_1607120286605_3791 Searched a few posts and tried some of suggestions others have tried but nothing has really worked. Any help would be much appreciated! Thanks! Link to comment
Beyondspace Posted December 5, 2020 Share Posted December 5, 2020 1 hour ago, Pinkies said: Site URL: https://southtowncreative.net/product-photography-stand-out Hi Friends. Looking to make this code block full width on my Square space 7.0 site. https://southtowncreative.net/product-photography-stand-out #block-yui_3_17_2_1_1607120286605_3791 Searched a few posts and tried some of suggestions others have tried but nothing has really worked. Any help would be much appreciated! Thanks! you can target the section id, you should change the section name to something meaningful and unique for this task #new-page-2 .Index-page-content { padding-left: 0; padding-right: 0; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Pinkies Posted December 5, 2020 Author Share Posted December 5, 2020 Thanks for your response. Are you saying I should put: #new-page-2 .Index-page-content { padding-left: 0; padding-right: 0; } into the custom css portion of the site? After adding it, it did not seem to do anything. Link to comment
Beyondspace Posted December 5, 2020 Share Posted December 5, 2020 2 hours ago, Pinkies said: Thanks for your response. Are you saying I should put: #new-page-2 .Index-page-content { padding-left: 0; padding-right: 0; } into the custom css portion of the site? After adding it, it did not seem to do anything. try !important #new-page-2 .Index-page-content { padding-left: 0 !important; padding-right: 0 !important; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Pinkies Posted December 5, 2020 Author Share Posted December 5, 2020 Thank you for your suggestion. I inserted the new code and it made it smaller. Previously I was using this CSS code: div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } That seemed to make it span the container of the site, but it failed to make it a full width. I have attached 2 images of what the site looks like with the two different codes. 1. "Before" was with this code: div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } 2. "After" is with this code: #new-page-2 .Index-page-content { padding-left: 0 !important; padding-right: 0 !important; } Any other help would be much appreciated. Thank you! Link to comment
Beyondspace Posted December 5, 2020 Share Posted December 5, 2020 53 minutes ago, Pinkies said: Thank you for your suggestion. I inserted the new code and it made it smaller. Previously I was using this CSS code: div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } That seemed to make it span the container of the site, but it failed to make it a full width. I have attached 2 images of what the site looks like with the two different codes. 1. "Before" was with this code: div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } 2. "After" is with this code: #new-page-2 .Index-page-content { padding-left: 0 !important; padding-right: 0 !important; } Any other help would be much appreciated. Thank you! I am checking the issue again BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted December 5, 2020 Share Posted December 5, 2020 6 minutes ago, Pinkies said: Thank you 🙂 Hi, this code block did the trick, you can remove my provided snippet div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Pinkies Posted December 5, 2020 Author Share Posted December 5, 2020 In the end, the code that made a code block full width is this: #new-page-2 .Index-page-content { padding-left: 0 !important; padding-right: 0 !important; }div#block-yui_3_17_2_1_1607120286605_3791 { width: 100% !important; } The bold text denotes the names of the elements that are unique to your own website. Hopefully this helps someone in the future. Make sure to clear your cache after you do this so you can see the changes. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.