Jump to content

Customize Image Ratios on Search Results

Go to solution Solved by tuanphan,

Recommended Posts

What code can I use to resize these images in the search results so that they aren't square? My blog post image is rectangle.

https://www.jessicamiller.work/search?q=css&f_collectionId=62bdad9fbcd5fd0bc5c6e52e

Thanks!

Jessica Miller | Squarespace Website Designer
https://www.jessicamiller.work
jessica@jessicamiller.work

Search the blog and get weekly Squarespace tips to your inbox
https://www.jessicamiller.work/blog

Want to pick my brain or get help? Book a free 15 minute call.

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Try using CSS like this (Design > Custom CSS)

.sqs-search-page-item .sqs-main-image-intrinsic {
    padding-bottom: 150% !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...

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.