Jump to content

Resizing thumbnail in Blog Single Column

Recommended Posts

Site URL: https://raquelrusso.com/blog

Hello!

I've been trying to get the thumbnail image in my blog page to be shown with its real proportions (and not cropped) but I can't figure out what I need to do. As it is right now, it's too tall and cropped on the sides and I wanted it to be at 100% width (in grid, not full screen) and with its real (and proportional) height. 

What css trick (or other magical thing) am I missing? Is this possible?

Thank you!

Link to comment
  • Replies 3
  • Views 1k
  • Created
  • Last Reply
On 7/6/2021 at 4:11 AM, RaquelR said:

Site URL: https://raquelrusso.com/blog

Hello!

I've been trying to get the thumbnail image in my blog page to be shown with its real proportions (and not cropped) but I can't figure out what I need to do. As it is right now, it's too tall and cropped on the sides and I wanted it to be at 100% width (in grid, not full screen) and with its real (and proportional) height. 

What css trick (or other magical thing) am I missing? Is this possible?

Thank you!

Add to Design > Custom CSS

/* blog thumbnail */
.blog-item img.image {
    width: 100% !important;
    height: auto !important;
    top: 0 !important;
    left: 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
  • 1 month later...

Thank you so much!

The problem is that the DIV that contains the image is still in the previous proportions and so it creates a "blank space". I've attached a screenshot.

If nothing can be done about it I'll just have to work within the proportions...

Once again, thank you very much ❤️

 

Screenshot 2021-08-23 at 12.41.05.png

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.