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

Link to comment
  • Guest changed the title to Move additional product info to under product description - center align
  • Replies 3
  • Views 514
  • Created
  • Last Reply
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;
}

 

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

image.thumb.png.bef3f2a1d43dfa6ca73224556785d3ca.png

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.