savage01 Posted December 30, 2021 Share Posted December 30, 2021 (edited) Hi there! I'm trying to increase the width of blog post content in the Brine template. I followed this code from a previous thread that I found: @media screen and (min-width:900px) { .collection-type-blog.view-item .BlogItem.hentry .sqs-grid-12 :not(.sqs-block-image) {width: 100% !important; } } It's working perfectly for the copy and image blocks but now it's messing up code blocks that I'm using for my clients RewardStyle widget. Does anyone have a fix for this? Thanks! Edited December 30, 2021 by savage01 Beyondspace 1 Link to comment
Beyondspace Posted December 31, 2021 Share Posted December 31, 2021 On 12/30/2021 at 10:53 PM, savage01 said: Hi there! I'm trying to increase the width of blog post content in the Brine template. I followed this code from a previous thread that I found: @media screen and (min-width:900px) { .collection-type-blog.view-item .BlogItem.hentry .sqs-grid-12 :not(.sqs-block-image) {width: 100% !important; } } It's working perfectly for the copy and image blocks but now it's messing up code blocks that I'm using for my clients RewardStyle widget. Does anyone have a fix for this? Thanks! Hi, Can you share your site with the protected password so we can take a look? a screenshot of what you desire to change could help a lot 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
tuanphan Posted January 2, 2022 Share Posted January 2, 2022 On 12/30/2021 at 10:53 PM, savage01 said: Hi there! I'm trying to increase the width of blog post content in the Brine template. I followed this code from a previous thread that I found: @media screen and (min-width:900px) { .collection-type-blog.view-item .BlogItem.hentry .sqs-grid-12 :not(.sqs-block-image) {width: 100% !important; } } It's working perfectly for the copy and image blocks but now it's messing up code blocks that I'm using for my clients RewardStyle widget. Does anyone have a fix for this? Thanks! Try adding this to Design > Custom CSS /* Brine blog post content */ body.collection-type-blog .html-block { width: 100% !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
savage01 Posted January 5, 2022 Author Share Posted January 5, 2022 Thanks for the response. So this is a screenshot of how the copy container looks with no custom CSS and the headline left-aligned. I want the copy to be more full-width, or at least align with the headline. Link to comment
savage01 Posted January 5, 2022 Author Share Posted January 5, 2022 (edited) I tried this recent code and I think it's working! Thank you! /* Brine blog post content */ body.collection-type-blog .html-block { width: 100% !important; } Is there any customization I can do to make the code block full width as well? Currently it's still in the same narrow container. Edited January 5, 2022 by savage01 Link to comment
tuanphan Posted January 7, 2022 Share Posted January 7, 2022 On 1/6/2022 at 1:30 AM, savage01 said: I tried this recent code and I think it's working! Thank you! /* Brine blog post content */ body.collection-type-blog .html-block { width: 100% !important; } Is there any customization I can do to make the code block full width as well? Currently it's still in the same narrow container. Try this code, if it doesn't work, please share link to post in screenshot, we can check easier /* Brine blog post content */ body.collection-type-blog { .html-block, .code-block { width: 100% !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
savage01 Posted January 10, 2022 Author Share Posted January 10, 2022 Yay that worked! 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