LindsEli Posted October 6, 2023 Share Posted October 6, 2023 https://san-diego-tours-and-rentals.squarespace.com/corporate-tours-and-private-group-tours I need to make the images in the gallery section smaller, just on mobile as two of the logos are getting cut off, any thoughts on code? Link to comment
Ziggy Posted October 6, 2023 Share Posted October 6, 2023 (edited) Try this Custom CSS: section[data-section-id="651dd91809e3e049b6b4d827"] { .gallery-reel { height:20vw !important; } } Edited October 6, 2023 by Ziggy Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
LindsEli Posted October 6, 2023 Author Share Posted October 6, 2023 2 hours ago, Ziggy said: Try this Custom CSS: section[data-section-id="651dd91809e3e049b6b4d827"] { .gallery-reel { height:20vw !important; } } I've tried playing with this code already but it just does this 😅 Link to comment
Ziggy Posted October 7, 2023 Share Posted October 7, 2023 Did your chance the value? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
LindsEli Posted October 9, 2023 Author Share Posted October 9, 2023 On 10/7/2023 at 3:49 AM, Ziggy said: Did your chance the value? yes! for example if I use section[data-section-id="651dd91809e3e049b6b4d827"] { .gallery-reel { height:70vw !important; } } it looks like ( see photo) basically I want the logos to not be so wide, if the height cannot change that is fine! Link to comment
tuanphan Posted October 12, 2023 Share Posted October 12, 2023 Try this new code @media screen and (max-width:767px) { section[data-section-id="651dd91809e3e049b6b4d827"] .gallery-reel { height: 25vh !important; } section[data-section-id="651dd91809e3e049b6b4d827"] img { object-fit: contain !important; height: auto !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment