Jump to content

Move and resize " size " and " Add to card " Box on Mobile + Laptop

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Site URL: https://www.mademoisellemorgane.com.au/boutique/p/versailles-black

Hello, 

https://www.mademoisellemorgane.com.au/boutique/p/versailles-black

I have few problems. 

1. I would like to move and resize my " add to card " and " size " box. It takes too much space specially on mobile. Please find photos attached. I have also attached a sample.

2. Also I would like to add a " Shipping " and " product information " boxes like the sample below. 

Thank you for your help !! 

Screenshot_20210920-124904_Samsung Internet.jpg

Screenshot_20210920-124848_Samsung Internet.jpg

Screenshot_20210920-124910_Samsung Internet.jpg

Screenshot_20210920-124833_Samsung Internet.jpg

Edited by MorganePinet
  • MorganePinet changed the title to Move and resize " size " and " Add to card " Box on Mobile + Laptop
  • Solution
Posted

Hi,

#1. Reduce boxes height & Make them same line?

#2. It is Accordion. You can use some tools to achieve this

It will add accordion to Additional Info. If you want to move it under description, add it first, then we will give the code to move it under Description

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!)

Posted

Hello Tuanphan, 

Thank you for your reply ! 

1. Yes exactly, I would like to reduce the boxes sizes. Height + width and align '' size " and '' quantity '' box. 

2. I have added the Accordion , Thank you so much ! Could you please let me know how to move it under ''description '' ?

Posted
On 9/21/2021 at 1:11 PM, MorganePinet said:

Hello Tuanphan, 

Thank you for your reply ! 

1. Yes exactly, I would like to reduce the boxes sizes. Height + width and align '' size " and '' quantity '' box. 

2. I have added the Accordion , Thank you so much ! Could you please let me know how to move it under ''description '' ?

#1. Add to Design > Custom CSS

/* variant */
div.variant-select-wrapper {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
/* quantity */
input[aria-label="Quantity"] {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#2. Add to Last line in Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$('.ProductItem .ProductItem-additional').appendTo('.ProductItem-details .ProductItem-details-checkout');
	});
</script>
<style>
  .ProductItem .ProductItem-additional {order:5;}
</style>

 

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!)

  • 5 months later...

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.