Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Controlling 7.1 Gallery Grid Masonry desktop image width and height


IvanOB

Question

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

Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

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.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
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 )

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