timprsn Posted February 22, 2023 Share Posted February 22, 2023 Hello, is there any way to customise my site with CSS so that all of my portfolio pages adjust to the screen size? I want the slideshow galleries to change in height so that it always fits on the current screen size and so that you can't scroll anymore. Link: https://www.euphoricstudios.com/architecture/architectural-models Thanks in advance! 🙂 Link to comment
Beyondspace Posted February 22, 2023 Share Posted February 22, 2023 (edited) 12 minutes ago, timprsn said: Hello, is there any way to customise my site with CSS so that all of my portfolio pages adjust to the screen size? I want the slideshow galleries to change in height so that it always fits on the current screen size and so that you can't scroll anymore. Link: https://www.euphoricstudios.com/architecture/architectural-models Thanks in advance! 🙂 You can try adding to Home > Design > Custom Css section[data-section-id="63f28e22eb6e251b6f5fb50a"] { height: 90vh; } section[data-section-id="63f28e22eb6e251b6f5fb50a"] .content-wrapper{ height: 100%; } section[data-section-id="63f28e22eb6e251b6f5fb50a"] .gallery-slideshow ,section[data-section-id="63f28e22eb6e251b6f5fb50a"] .gallery-slideshow-wrapper { height: 90vh !important; } section[data-section-id="63f28e22eb6e251b6f5fb50a"] .gallery-slideshow-item img { height: 100% !important; width: auto !important; left: 50% !important; transform: translatex(-50%); } Support me by pressing 👍 or marking as solution if this useful for you Edited February 22, 2023 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
LostAndFurious Posted March 14, 2023 Share Posted March 14, 2023 Hi, Does anyone knows if there is a way to make this work on every slideshows on the whole website ? Or do I have to populate the css for every single galleries ? (I have many...) Thanks a lot for your answers! Link to comment
tuanphan Posted March 16, 2023 Share Posted March 16, 2023 On 3/14/2023 at 5:57 PM, LostAndFurious said: Hi, Does anyone knows if there is a way to make this work on every slideshows on the whole website ? Or do I have to populate the css for every single galleries ? (I have many...) Thanks a lot for your answers! Depend on the case. If you share link to some gallery slideshows on your site, we can check easier 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