Jump to content

Can I adjust how images "fill" the container at different breakpoints?

Recommended Posts

Posted

Site URL: https://www.kierstenamelia.com/starbucks-pattern-library

Is there a way to adjust how images "fill" their containers at different breakpoints? The only way I can get my grid system to work is by "filling" my image containers (see related question here). This works well for desktop:

image.thumb.png.19593cadda2a23eff0ae9aa9f9b606d1.png

And for smaller mobile sizes: 

image.png.58500e8bce8fcb10f581b1d67a352f78.png

But it's really problematic for tablet and larger mobile sizes: 

image.png.c0d4885032c90eee6ba4a11c268f0aff.png

Is there any way to force a certain aspect ratio (or range of ratios?) I have no idea how to resolve this issue! 

  • Replies 1
  • Views 177
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.