Jump to content

Image Block not hugging image, causing gap for smaller window sizes

Recommended Posts

Hello,

I'm trying to solve an issue with this image block becoming large on window resizing which in turn makes a large gap at the bottom of this section. If I resize the block to fit for the smaller window, then the image isn't the correct size for the large window. I'm basically having to choose whether to make it look best for desktop or iPad, and I'd prefer it to just look good on both. 

 

Any ideas?

 

Thanks!

Screenshot 2024-06-07 093830.png

Screenshot 2024-06-07 093856.png

Link to comment
5 hours ago, elizaholman said:

Hello,

I'm trying to solve an issue with this image block becoming large on window resizing which in turn makes a large gap at the bottom of this section. If I resize the block to fit for the smaller window, then the image isn't the correct size for the large window. I'm basically having to choose whether to make it look best for desktop or iPad, and I'd prefer it to just look good on both. 

 

Any ideas?

 

Thanks!

Screenshot 2024-06-07 093830.png

Screenshot 2024-06-07 093856.png

Can you share your URL so I can check it?

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 6/10/2024 at 2:47 PM, elizaholman said:

Sorry I thought I had! It's olanmeows.com 

You can try using this to Website > Website Tools > Custom CSS

div.fe-662ac78b5213be4aac2deae5 {
    grid-template-rows: repeat(10,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !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.