Re: Add padding

Add padding

lunalucenteskin
Explorer
88 0 19

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
103 19 19

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



Better Forms - Get a better contact form today!

BSSCommerce-HDL
Shopify Partner
2305 835 910

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

AnneLuo
Shopify Partner
1300 228 267

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
855 176 191

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
Astronaut
1368 165 224

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 Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month