JoshPickCC Posted April 5 Share Posted April 5 I've currently got a gallery reel block which has CSS customisation to play a scrolling logo animation. It works absolutely fine however I want to reduce the size of it. I still want it full page width but I wanted to reduce the height of the section. I the current Squarespace default height on the smallest it can go which is 30. I have also used this code: /* gallery reel */ [data-section-id="660d3cf73f391f3650b12e81"] .gallery-reel { padding-top: -50px !important; padding-bottom: -50px !important; } which does help but not a great deal. Link to comment
abibacon Posted April 5 Share Posted April 5 Hey @JoshPickCC, if you share a link I can jump into the web inspector and provide some CSS. Squarespace Developer based in Hampshire, England If you'd like to make a contribution for my time you can Buy Me A Coffee. Reach out for Custom Coding - abibacon.com Developer & Support Specialist at will-myers.com (Affiliate Link) Link to comment
Solution abibacon Posted April 5 Solution Share Posted April 5 Hey @JoshPickCC, try the below .gallery-section { height: 20vh !important; } Squarespace Developer based in Hampshire, England If you'd like to make a contribution for my time you can Buy Me A Coffee. Reach out for Custom Coding - abibacon.com Developer & Support Specialist at will-myers.com (Affiliate Link) Link to comment
JoshPickCC Posted April 5 Author Share Posted April 5 5 minutes ago, abibacon said: Hey @JoshPickCC, try the below .gallery-section { height: 20vh !important; } thank you very much! Do you know if theres any way of making all the logos smaller within the section? Link to comment
tuanphan Posted April 7 Share Posted April 7 On 4/5/2024 at 7:34 PM, JoshPickCC said: thank you very much! Do you know if theres any way of making all the logos smaller within the section? You can try this CSS code to reload the page [data-section-id="660d3cf73f391f3650b12e81"] .gallery-reel { height: 20vh !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
aglass Posted July 30 Share Posted July 30 Hi, this code .gallery-section { height: 20vh !important; }) worked for adjusting the height on the web version of the site. How can I adjust the code to change the height on my mobile site? Thanks! Link to comment
tuanphan Posted August 2 Share Posted August 2 On 7/30/2024 at 11:18 AM, aglass said: Hi, this code .gallery-section { height: 20vh !important; }) worked for adjusting the height on the web version of the site. How can I adjust the code to change the height on my mobile site? Thanks! Use this code for mobile @media screen and (max-width:767px) { .gallery-section { height: 30vh !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