iczek Posted December 4, 2023 Share Posted December 4, 2023 (edited) Hi! I would like to ask for some support with custom code for my gallery. I would like to limit the singl eimage presentation up to 1200px not more. FOr now, the single image is scaled to the browser size... I don't want to presented the image bigger than 1200px wide (I use horizontal style pictures). I will appreciate any support here. I am working with this template from SQSp: https://wells-demo.squarespace.com/ Edited December 4, 2023 by iczek typos Link to comment
KwameAndCo Posted December 5, 2023 Share Posted December 5, 2023 You need to be more specific and share your website so we can actually look at it and help you. Especially as none of the images in the demo are more than 1200px wide. Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 Some links may be affiliate/referral links. Link to comment
iczek Posted December 5, 2023 Author Share Posted December 5, 2023 Ok, I am newbie wirth Squarespace so I don;t know how to make website public to show you the issue. Should I upgrade and pay to see the website without login? Link to comment
tuanphan Posted December 7, 2023 Share Posted December 7, 2023 On 12/6/2023 at 12:43 AM, iczek said: Ok, I am newbie wirth Squarespace so I don;t know how to make website public to show you the issue. Should I upgrade and pay to see the website without login? NO need to upgrade, you can follow this iczek 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
iczek Posted December 8, 2023 Author Share Posted December 8, 2023 Great! Thanks. So here is the link to webiste: https://clover-walrus-6jlp.squarespace.com Password: 1234567 May I ask for support with custom code that will prevent my picture to be presented larger than 1200 px? Link to comment
iczek Posted December 9, 2023 Author Share Posted December 9, 2023 Can anyone help me with it? Link to comment
tuanphan Posted December 11, 2023 Share Posted December 11, 2023 You mean images on homepage? You can add this code to Website Tools (under Not Linked) > Custom CSS /* Limit image width */ .collection-type-gallery.enable-gallery-thumbnails #slideshow img { max-width: 1200px !important; margin: 0 auto; } 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