Jump to content

Controlling 7.1 Gallery Grid Masonry desktop image width and height

Recommended Posts

Posted

Site URL: https://www.ivanokyereboakye.com/landscape-street-urban-travel-stock-photography-gallery/america-west-coast

Is there a way to dynamically set the width and height of images in Grid Masonry on desktop so landscape images fit to the available browser window space i.e. the full landscape or portrait image is visible in the browser area without scrolling up or down?

When I launched my website about 3 months ago I couldn’t work out how to do that when using 1 column in Grid Masonry as portrait images in particular were oversized and only showing 2/3rds of the image in the browser area, so need to scroll down to see the rest. I therefore set it up with 2 columns as although not perfect it meant the portrait images were 90% visible on laptops and 100% on desktop monitor screens. At that time the mobile view was fine as would only show 1 image (not the 2 per row as on desktop) and the portrait ones were 100% visible.

I have however seen over the last week that Squarespace appear to have changed things now so setting 2 columns on the desktop also shows as 2 columns on the mobile which is terrible. See this page as example https://www.ivanokyereboakye.com/landscape-street-urban-travel-stock-photography-gallery/america-west-coast

I have temporarily set all other gallery pages (apart from the one above) to 1 column for now to keep the mobile view as single images per row, however need to find a way to reduce the desktop ones as the portrait images are too large. https://www.ivanokyereboakye.com/landscape-street-urban-travel-stock-photography-gallery/latest-update

Ideally I would like to have it with 1 column on both desktop and mobile view, however if it is not possible to reduce the desktop width and height, is there a way to go back to my previous set up of 2 columns on the desktop but custom code the mobile view to only show 1 image per row?

Thanks

Ivan

  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply
  • 2 months later...
Posted
On 11/21/2020 at 10:09 AM, tuanphan said:

Hi, If you haven't solved this yet, you can post on some FB groups: Squarespace Rockstars, Squarespace Entrepreneur, Squarespace Community, Squarespace Customization Resource Groups.

I'm having this EXACT issue! my images are way too large in single columns.

I thought I found a solution, using vertical spacer blocks on either side of the gallery to make the images smaller on the screen, but when I went to do that it would only let me use spacer blocks around text boxes, not photos. ugh!!! please help!

https://www.evelynsophiaivy.com/all/freyja )

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.