holahannah Posted June 7 Share Posted June 7 Hello, I am using gallery blocks on my website, using a portrait aspect ratio. I'm happy with how it looks on desktop, however on mobile, all of the images are getting cropped to a portrait aspect ratio - even though I have a mix of portrait and landscape images in the gallery. On mobile, is it possible to remove the selected aspect ratio in the gallery settings, and just have the image thumbnails appear uncropped, in their original apsect ratio? So a mix of portrait and landscape images just in a grid? https://mcshane.squarespace.com/work/carstensz password: bandit Many thanks Link to comment
Solution tuanphan Posted June 10 Solution Share Posted June 10 You can use this to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { div.blog-item-content .gallery-block img { width: 100% !important; height: auto !important; left: 0 !important; top: unset !important; } div.blog-item-content .gallery-block a { padding-bottom: unset !important; height: auto !important; } } holahannah 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment