Jump to content

Increase Width Blog Post and Code Block on Brine Template

Recommended Posts

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 by savage01
Link to comment
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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
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

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. 

 

Screen Shot 2022-01-05 at 11.42.30 AM.png

Edited by savage01
Link to comment
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. 

 

Screen Shot 2022-01-05 at 11.42.30 AM.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.