pamjeanne Posted March 3, 2022 Share Posted March 3, 2022 Site URL: https://www.pamjeannephoto.com/galleries/coastal-adventure-elopement-in-big-sur-ca I feel like this should be an easy fix but I've been racking my brain for the longest time trying to fix this... How do I make my text and code blocks the same width as my image block in my blog posts? In the specified URL, the first image is an image block, which spans the width of the blog post. The following text block and code block (containing all the other images - it's a script from the Narrative blogging app) are narrower in width. I'd like it such that everything is the same width, but not so wide that the first image block fills up the entire screen for desktop viewers. Attached a screenshot with markings of roughly what I'm trying to achieve. For phone and tablet users, I'd like it to span the width of the entire screen. Hope this makes sense. Thanks in advance!! Link to comment
Beyondspace Posted March 5, 2022 Share Posted March 5, 2022 On 3/3/2022 at 8:04 AM, pamjeanne said: Site URL: https://www.pamjeannephoto.com/galleries/coastal-adventure-elopement-in-big-sur-ca I feel like this should be an easy fix but I've been racking my brain for the longest time trying to fix this... How do I make my text and code blocks the same width as my image block in my blog posts? In the specified URL, the first image is an image block, which spans the width of the blog post. The following text block and code block (containing all the other images - it's a script from the Narrative blogging app) are narrower in width. I'd like it such that everything is the same width, but not so wide that the first image block fills up the entire screen for desktop viewers. Attached a screenshot with markings of roughly what I'm trying to achieve. For phone and tablet users, I'd like it to span the width of the entire screen. Hope this makes sense. Thanks in advance!! Is it the result you want to achieve? 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 March 5, 2022 Share Posted March 5, 2022 Try adding to Home > Design > Custom Css #block-73a84209fc57668b846e { width: 100%; padding-right: 0; padding-left: 0; } Let me know how it works on your site 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
pamjeanne Posted March 5, 2022 Author Share Posted March 5, 2022 41 minutes ago, bangank36 said: Try adding to Home > Design > Custom Css #block-73a84209fc57668b846e { width: 100%; padding-right: 0; padding-left: 0; } Let me know how it works on your site Hi! Thank you for responding! Sooo that only targets that specific block on that specific blog post, is there a universal code I can use to apply to all blog posts on my site? Thanks again! Link to comment
tuanphan Posted March 6, 2022 Share Posted March 6, 2022 On 3/5/2022 at 8:34 AM, pamjeanne said: Hi! Thank you for responding! Sooo that only targets that specific block on that specific blog post, is there a universal code I can use to apply to all blog posts on my site? Thanks again! Try this code body.collection-type-blog.view-item .html-block { width: 100% !important; padding-left: 0 !important; padding-right: 0 !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
pamjeanne Posted March 7, 2022 Author Share Posted March 7, 2022 On 3/6/2022 at 5:38 AM, tuanphan said: Try this code body.collection-type-blog.view-item .html-block { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; } You are a hero!!! Thank you so much! Link to comment
SailVermont Posted February 18, 2023 Share Posted February 18, 2023 I am having the same issue and this particular code paste did not work. Any other options out there? Thanks for your time in responding! Link to comment
tuanphan Posted February 21, 2023 Share Posted February 21, 2023 On 2/18/2023 at 8:09 PM, SailVermont said: I am having the same issue and this particular code paste did not work. Any other options out there? Thanks for your time in responding! What is your blog page url? We can check easier 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