Add padding

Add padding

lunalucenteskin
Explorer
79 0 14

Hi everyone, 

 

A short question, how can we add more padding between the last sentence of the description and the collapsible tabs.

 

URL is https://lunalucente.com/products/acne-clear-essentials-set

 

 

Image 30-08-2024 at 09.29.jpeg

Replies 5 (5)

BlackCro
Shopify Partner
61 14 9

In product.css look for .main-product__block .m-product-description and add padding-bottom: 20px or however much you'd like. 

 

Example code below:

.main-product__block .m-product-description {
    line-height: 1.5;
    color: rgb(var(--color-foreground-secondary));
    padding-bottom: 20px;
}

Hope this helps

Simon

 

BlackCro.co.uk

CRO & Development Agency

BSSCommerce-HDL
Shopify Partner
1909 664 792

Hi @lunalucenteskin

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.m-product-description.rte p:last-child {
    padding-bottom: 20px !important;
}
</style>

 

Hope this can help you,

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

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

AnneLuo
Shopify Partner
884 164 186

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag

<style>
.m-product-collapsible button.m-collapsible--button {
    padding: 25px 0 !important;
}
.main-product__block.main-product__block-description .m-product-description.rte{
  margin-bottom: 30px !important;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

GTLOfficial
Shopify Partner
435 86 87

Hello @lunalucenteskin 
Go to online store ----> themes ----> actions ----> edit code---->main.css
search this code

.main-product__block-custom_liquid {
margin-top: 5px !important;
}


and replace with this code

.main-product__block-custom_liquid {
margin-top: 15px !important;
}

 result
9.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

topnewyork
Globetrotter
569 95 121

Hi @lunalucenteskin ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
.m-product-description.rte p:last-child {
    padding-bottom: 25 px !important;
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel