Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
katescott

Contain Width of Images on Brine Blog

Question

I limited the with of my blog post content to 650px but images still show up full width. How do I contain the width of image (and video) blocks with CSS to 650px (centered) without squishing the image? I can't seem to figure it out.

1558653566_ScreenShot2020-01-22at3_21_36PM.thumb.png.1ff729df2b94e93dfc76c1767230170c.png

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0
5 hours ago, katescott said:

https://katescott.co/blog/squarespace-tutorials

I currently have spacer blocks containing the width of the centered images.

You can remove spacer & share link again.

I think CSS can solve.


Send me a message if you have any questions (free 10 minutes)

Free code: Squarespace 7.0 (4000+ code)

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post
  • 0
16 hours ago, tuanphan said:

.collection-type-blog.view-item .sqs-block-image {
    max-width: 650px;
    margin: 0 auto;
}

 

Aaah, thank you so much! You're a lifesaver!

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...