Jump to content

Resizing outside 3:2 Aspect Ratio

Recommended Posts

Site URL: https://www.andyburnsdesign.co.uk/store/p/cromwell-point-kerry-travel-poster

Hi,

I'm having an issue with resizing of my product items using Site Styles. The vast majority of my traffic is from mobile so I'm trying to make my product images larger on mobile. Unfortunately when I select any other aspect ratio other than 3:2 the image stays the same size, this is occurring on desktop also. 

I have tried changing the design between carousel, stacked and slideshow with no joy. Interestingly when I change the aspect ratio to vertical, the carousel arrows and text move downwards as if the larger image is present without the aspect ratio changing. 

Any help would be appreciated.

https://www.andyburnsdesign.co.uk/store/p/cromwell-point-kerry-travel-poster

Andy 

Link to comment
  • Replies 3
  • Views 551
  • Created
  • Last Reply

Top Posters In This Topic

On 10/1/2021 at 5:44 PM, AndyBurnsDesign said:

Site URL: https://www.andyburnsdesign.co.uk/store/p/cromwell-point-kerry-travel-poster

Hi,

I'm having an issue with resizing of my product items using Site Styles. The vast majority of my traffic is from mobile so I'm trying to make my product images larger on mobile. Unfortunately when I select any other aspect ratio other than 3:2 the image stays the same size, this is occurring on desktop also. 

I have tried changing the design between carousel, stacked and slideshow with no joy. Interestingly when I change the aspect ratio to vertical, the carousel arrows and text move downwards as if the larger image is present without the aspect ratio changing. 

Any help would be appreciated.

https://www.andyburnsdesign.co.uk/store/p/cromwell-point-kerry-travel-poster

Andy 

Try adding to Design > Custom CSS > then save & reload the site

@media screen and (max-width:767px) {
.tweak-product-basic-item-gallery-aspect-ratio-34-three-four-vertical .ProductItem-gallery-slides:before {
    padding-bottom: 100% !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
On 10/5/2021 at 10:06 PM, AndyBurnsDesign said:

Hey @tuanphan, thanks for the reply.

I managed to resolve this on mobile, it is still occuring on desktop but the wide aspect is not as much of an issue there.

Thanks

Andy

You can try this for desktop (768px or higher)

@media screen and (min-width:768px) {
.tweak-product-basic-item-gallery-aspect-ratio-34-three-four-vertical .ProductItem-gallery-slides:before {
    padding-bottom: 100% !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.