Jump to content

Move additional product info to under product description - center align

Recommended Posts

Site URL: https://souqluxury.co.za/

Hi all,

I have used the following code injected into my page header to take the additional info box and place it under my product description instead of at the bottom under the images.  For some reason my add to cart button will not center align and it is slightly off and I would like the social icons to move under the size chart button. Is this possible ?

 

Password : kimsedgwick

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
  window.Squarespace.onInitialize(Y, function(){  
  $('section.ProductItem-additional').appendTo('.ProductItem-details-share');
});
</script>

Screenshot 2020-12-03 at 00.13.56.png

Edited by amararajie
Link to comment
  • amararajie changed the title to Move additional product info to under product description - center align
4 hours ago, amararajie said:

Site URL: https://souqluxury.co.za/

Hi all,

I have used the following code injected into my page header to take the additional info box and place it under my product description instead of at the bottom under the images.  For some reason my add to cart button will not center align and it is slightly off and I would like the social icons to move under the size chart button. Is this possible ?

 

Password : kimsedgwick


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
  window.Squarespace.onInitialize(Y, function(){  
  $('section.ProductItem-additional').appendTo('.ProductItem-details-share');
});
</script>

Screenshot 2020-12-03 at 00.13.56.png

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
  window.Squarespace.onInitialize(Y, function(){  
     $('section.ProductItem-additional').appendTo('.ProductItem-details-share');
     $('.Share.sqs-share-buttons').appendTo('.ProductItem-additional');
});
</script>

kindly update your script and add this snippet in custom css

.shopify-buy-frame--product {
  max-width: initial !important;
}

 

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, Keyword Highlighter
If 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

image.thumb.png.bef3f2a1d43dfa6ca73224556785d3ca.png

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, Keyword Highlighter
If 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.