SittinginFlorida Posted April 9, 2021 Share Posted April 9, 2021 Site URL: https://studio-mcgee.com/az-homestead-project-the-kids-spaces/ Hi Squarespace Code Lovers! Does anyone know how to insert (custom code) a horizontal gallery block (FULL WIDTH) with a colored background ON a Blog Page (not landing page). Example attached with link to website that has this on a blog "story" page. I'm stumped 🙃 Thank you in advance 🙏 Beyondspace 1 Link to comment
Beyondspace Posted April 11, 2021 Share Posted April 11, 2021 On 4/9/2021 at 10:24 PM, SittinginFlorida said: Site URL: https://studio-mcgee.com/az-homestead-project-the-kids-spaces/ Hi Squarespace Code Lovers! Does anyone know how to insert (custom code) a horizontal gallery block (FULL WIDTH) with a colored background ON a Blog Page (not landing page). Example attached with link to website that has this on a blog "story" page. I'm stumped 🙃 Thank you in advance 🙏 Technically it can be achieve by target the row that contain the gallery block and the text, you can add a spacer above that row to target it using css. try body:not(.sqs-edit-mode) #block-yui_3_17_2_1_1618152424008_5736 { display: none; } #block-yui_3_17_2_1_1618152424008_5736 + .row { position: relative; } #block-yui_3_17_2_1_1618152424008_5736 + .row:before { content: ''; position: absolute; width: 100vw; height: 100%; top: 0; left: 50%; transform: translateX(-50%); background: red; } #block-yui_3_17_2_1_1618152424008_5736 is the spacer id, that can find using this extension Squarespace ID Finder - Chrome Web Store (google.com) SittinginFlorida and tuanphan 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment