tyshi Posted June 6 Share Posted June 6 Hi, I'm trying to change the images on the product page to fill up the entirety of the left side of the screen. Currently have tried code below but not working too well. I'm experience in CSS but unfamiliar with the structure and classification of Squarespace templates and product pages. section#pdp { padding-top: 0px !important; margin-top: 0px !important; } .pdp-gallery-slides-image{ padding-top: 0px !important; } Images below are for the current site and then the ideal change: Site: https://perch-grey-p6zw.squarespace.com/ PW: hmmm Link to comment
Beyondspace Posted June 7 Share Posted June 7 3 hours ago, tyshi said: Hi, I'm trying to change the images on the product page to fill up the entirety of the left side of the screen. Currently have tried code below but not working too well. I'm experience in CSS but unfamiliar with the structure and classification of Squarespace templates and product pages. section#pdp { padding-top: 0px !important; margin-top: 0px !important; } .pdp-gallery-slides-image{ padding-top: 0px !important; } Images below are for the current site and then the ideal change: Site: https://perch-grey-p6zw.squarespace.com/ PW: hmmm You can try the following code .products.collection-content-wrapper.product-layout-side-by-side { padding-left: 0; } [id*='item'] .sections section:first-child { padding-top: 0 !important; } /*overwrite old style*/ @media screen and (min-width: 768px) { [id*='item'] .ProductItem-nav { padding-bottom: 0; } } My testing Let me know how it works on your site tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
tyshi Posted June 10 Author Share Posted June 10 (edited) On 6/6/2024 at 6:12 PM, Beyondspace said: You can try the following code .products.collection-content-wrapper.product-layout-side-by-side { padding-left: 0; } [id*='item'] .sections section:first-child { padding-top: 0 !important; } /*overwrite old style*/ @media screen and (min-width: 768px) { [id*='item'] .ProductItem-nav { padding-bottom: 0; } } My testing Let me know how it works on your site It works really well except I have this problem later down the page with the padding of the text sections: Also, would I be able to make the navigation bar sticky on top while the page scrolls? Thank you for the help! Edited June 10 by tyshi 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