Solved

Reduce the white Space in the product description

salaheddine2
Tourist
13 0 2

Hello,

 

I need help with reducing the withe space in my shopify Empire theme product description (red lines)

 

salaheddine2_0-1712251174033.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6035 1448 1786

This is an accepted solution.

Hi @salaheddine2 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product-description.rte h2, 
.product-description.rte h4 {
    margin: 5px 0;
}

 

And Save. 

Result:

Made4uoRibe_0-1712253118066.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
6035 1448 1786

This is an accepted solution.

Hi @salaheddine2 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product-description.rte h2, 
.product-description.rte h4 {
    margin: 5px 0;
}

 

And Save. 

Result:

Made4uoRibe_0-1712253118066.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


salaheddine2
Tourist
13 0 2

thank you so much

salaheddine2
Tourist
13 0 2