Jump to content

Changing Layout of Product Page - Additional Items column width 50% with Suggested Products next to it

Recommended Posts

On 3/17/2024 at 11:53 AM, TheBrandAlchemists said:

You mean move related products to left of Additional Info

and make sure related products = 50% width, Additional Info = 50% width?

image.thumb.png.d2e0f31580f8372f897bb174f9877bd8.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 3/21/2024 at 7:29 AM, TheBrandAlchemists said:

@tuanphan yes please .. the related products on the left and the "additional info" section on the right as per your image 🙂

Try this code to Website > Website Tools > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
   jQuery(document).ready(function($){
  $('section.ProductItem-additional+section').insertBefore('.ProductItem-additional>.sqs-layout');
})
</script>
<style>
  .ProductItem .ProductItem-additional {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px 5px;
}
  .ProductItem .ProductItem-related-label {
    margin-top: 0px;
}
</style>

image.thumb.png.1bc24e69bfa8a67cfd0fbb6bae8f207f.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.