Nikitaly Posted February 23 Share Posted February 23 Hi, I am trying to move the Reviews Section underneath the thumbnails in the right hand column. The following code works as long as I don't use the product additional info. If I use additional info it is put under the thumbnails and before the reviews. <script> if (window.matchMedia("(min-width: 640px)").matches) { window.Squarespace.onInitialize(Y, function(){ $('section.ProductItem-additional').appendTo('.ProductItem-gallery-thumbnails'); }); window.Squarespace.onInitialize(Y, function(){ $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional'); }); } </script> I have tried the following: <script> if (window.matchMedia("(min-width: 640px)").matches) { window.Squarespace.onInitialize(Y, function(){ $('section.reviewsSection').appendTo('.ProductItem-gallery-thumbnails'); }); window.Squarespace.onInitialize(Y, function(){ $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional'); }); } </script> This appears to work for a second but then just puts the reviews section at the bottom of the page again. I cannot figure this out. Can anyone help please? https://www.rebelrebel.co.uk/order-online/crazy-in-love pw: 1mageproblem Link to comment
Beyondspace Posted February 23 Share Posted February 23 2 hours ago, Nikitaly said: Hi, I am trying to move the Reviews Section underneath the thumbnails in the right hand column. The following code works as long as I don't use the product additional info. If I use additional info it is put under the thumbnails and before the reviews. <script> if (window.matchMedia("(min-width: 640px)").matches) { window.Squarespace.onInitialize(Y, function(){ $('section.ProductItem-additional').appendTo('.ProductItem-gallery-thumbnails'); }); window.Squarespace.onInitialize(Y, function(){ $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional'); }); } </script> I have tried the following: <script> if (window.matchMedia("(min-width: 640px)").matches) { window.Squarespace.onInitialize(Y, function(){ $('section.reviewsSection').appendTo('.ProductItem-gallery-thumbnails'); }); window.Squarespace.onInitialize(Y, function(){ $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional'); }); } </script> This appears to work for a second but then just puts the reviews section at the bottom of the page again. I cannot figure this out. Can anyone help please? https://www.rebelrebel.co.uk/order-online/crazy-in-love pw: 1mageproblem It looks fine on my end Have you figured it out? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Nikitaly Posted February 23 Author Share Posted February 23 No! aargh. The .ProductItem-additional section and the reviewsSection section keep sticking together. Can't seem to move one without the other going with it. Just can't figure it out. Link to comment
Nikitaly Posted February 23 Author Share Posted February 23 The reason the figure above looks OK is because I've left the 'additional info' section for the product blank. I want to use the 'additional info' but for that to display after the main details (excerpt) as normal.... Link to comment
tuanphan Posted February 26 Share Posted February 26 Do you still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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