How can I make the spacing for the title, price, quantity box, add to cart button all the same size

Solved

How can I make the spacing for the title, price, quantity box, add to cart button all the same size

Taryckrich
Explorer
60 0 10

Hey does anyone have code to make the spacing for the title, price, quantity box, add to cart button all the same size, I have circled the spacing I want but the price and quantity box are to close to each other, I want the spacing for all of them the exact size I circled in the photo below, if anyone can do this will be very appreciated :))

Screenshot (60).png

Accepted Solutions (2)
BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

Please remove the "}" at line 3579.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.product .price__container {
margin-bottom: 1.5rem !important;
}
.product__info-container .product__description{
margin-top: 2.5rem !important;
}
.product__info-container>*+* {
margin: 1.5rem 0 !important;
}
.price-per-item__container {
margin-bottom: 1.5rem !important;
}
</style>

techlyser_web_0-1722010392659.png

 

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 17 (17)

BSS-TekLabs
Shopify Partner
2401 695 832

Hello @Taryckrich .
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Taryckrich
Explorer
60 0 10
BSS-TekLabs
Shopify Partner
2401 695 832

- Here is the solution for you @Taryckrich 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.product__description.quick-add-hidden p:first-child {
     line-height: 15px !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1722077138706.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Taryckrich
Explorer
60 0 10

didnt work spacing is still the same, thank you for trying though

BSS-TekLabs
Shopify Partner
2401 695 832

Please add my code back so I can check it again.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Taryckrich
Explorer
60 0 10

which one though theme.liquid or base.css and is it before body? 

BSS-TekLabs
Shopify Partner
2401 695 832
.product__description.quick-add-hidden p:first-child {
     line-height: 15px !important;
}

can you add the last line file base.css

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Taryckrich
Explorer
60 0 10

done but the spacing between price and quantity box is still way to close and not the same spacing as everything else Screenshot (61).png

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

Please remove the "}" at line 3579.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Taryckrich
Explorer
60 0 10

done
Screenshot (62).png

BSS-TekLabs
Shopify Partner
2401 695 832

BSSTekLabs_0-1722080422196.png

 

I see the distance is equal. You can check again.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

niraj_patel
Shopify Partner
2391 516 515

Hello @Taryckrich 
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Taryckrich
Explorer
60 0 10
niraj_patel
Shopify Partner
2391 516 515

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.product__info-container .product-form{
margin: margin: 1.5rem 0 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Taryckrich
Explorer
60 0 10

didnt work spacing is still the same, thank you for trying though

Taryckrich
Explorer
60 0 10

i just want the title, price, quantity box, add to cart button to have all the same spacing so it looks clean

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.product .price__container {
margin-bottom: 1.5rem !important;
}
.product__info-container .product__description{
margin-top: 2.5rem !important;
}
.product__info-container>*+* {
margin: 1.5rem 0 !important;
}
.price-per-item__container {
margin-bottom: 1.5rem !important;
}
</style>

techlyser_web_0-1722010392659.png

 

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com