genfoch01 Posted May 3, 2021 Share Posted May 3, 2021 I am on squarespace 7.1 I am hiding the product title on the product detail page with the following code h1.ProductItem-details-title { display: none !important; } because the breadcrumb already contains the title so this was redundant. I want to swap the product detail page and the additional info sections (elements i am not sure of the terminology here) so the additional info section lines up with the top right of the picture while the description is below in linging up with the bottom left. I attempted to solve this with the following code <script> /* place in store page header code injection */ jQuery(document).ready(function($) { $('.ProductItem .ProductItem-additional').insertBefore('.ProductItem-details-excerpt'); }); </script> which helped but but left me with the following alignment problems here is a link : https://dove-capybera-nn4w.squarespace.com/landscapes/p/sams-place-1 pw : Fr9Db9%wN0*qwO3_rCY Thank you for your time! let me know if i need to clarify anything. Beyondspace 1 Link to comment
Beyondspace Posted May 4, 2021 Share Posted May 4, 2021 10 hours ago, genfoch01 said: I am on squarespace 7.1 I am hiding the product title on the product detail page with the following code h1.ProductItem-details-title { display: none !important; } because the breadcrumb already contains the title so this was redundant. I want to swap the product detail page and the additional info sections (elements i am not sure of the terminology here) so the additional info section lines up with the top right of the picture while the description is below in linging up with the bottom left. I attempted to solve this with the following code <script> /* place in store page header code injection */ jQuery(document).ready(function($) { $('.ProductItem .ProductItem-additional').insertBefore('.ProductItem-details-excerpt'); }); </script> which helped but but left me with the following alignment problems here is a link : https://dove-capybera-nn4w.squarespace.com/landscapes/p/sams-place-1 pw : Fr9Db9%wN0*qwO3_rCY Thank you for your time! let me know if i need to clarify anything. Insert this to Custom CSS .collection-type-products.view-item .ProductItem-gallery { display: block; } .collection-type-products.view-item .ProductItem .ProductItem-details { padding-top: 0; } .collection-type-products.view-item .ProductItem .ProductItem-additional { margin-top: 0; } .collection-type-products.view-item .ProductItem-details .ProductItem-product-price { margin-bottom: 0; } and update your custom script <script> /* place in store page header code injection */ jQuery(document).ready(function($) { $('.ProductItem .ProductItem-additional').insertBefore('.ProductItem-details-excerpt'); $('.ProductItem .ProductItem-details-excerpt').appendTo('.ProductItem-gallery'); }); </script> tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Beyondspace Posted May 4, 2021 Share Posted May 4, 2021 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
genfoch01 Posted May 5, 2021 Author Share Posted May 5, 2021 That sir was dead solid perfect! thank k you so much! rsync -r /home/fridge/beer bangank36@squarespace:/home/fridge thanks again that was really helpful. creedon and Beyondspace 2 Link to comment
creedon Posted May 5, 2021 Share Posted May 5, 2021 @genfoch01 LOL! 😀 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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