Reducing paragraph spacing between header, text, and button on Image Banner? Shopify Dawn

Solved

Reducing paragraph spacing between header, text, and button on Image Banner? Shopify Dawn

lukeoneill90
New Member
13 0 0

Hi, 

 

I would like to reduce the spacing between the heading, text, and button. Please see attached image with black annotation showing the location. 

Screenshot 2023-01-29 at 16.32.01.png

Accepted Solution (1)
Cedcommerce
Shopify Partner
718 76 113

This is an accepted solution.

Hello @lukeoneill90Apologies for the delay in the reply, but we got you covered.

You need to add the below code at the end of your base.css file in the assets folder.

 

Go to Shopify admin > Online store > Select theme

Edit code > Open the base.css file from the assets folder

Paste the code below in the last of the file and save it.

 

Here is the code:

 

.banner__box .banner__heading {

   margin-top: 0px !important;

   line-height: 50px !important;

}

 

.banner__box .banner__buttons {

   margin-top: 5px !important;

}

 

Let us know if you need any further help with this. 

 

Regards,

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here

View solution in original post

Replies 8 (8)

Cedcommerce
Shopify Partner
718 76 113

Hello @lukeoneill90

 

Share your store URL so we can check the issue and let you know the best possible solution. 

 

Regards, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
lukeoneill90
New Member
13 0 0

Hi,

 

Here is the URL 

 

https://ninetyfurniture.myshopify.com/ 

 

Password: ninety

Cedcommerce
Shopify Partner
718 76 113

This is an accepted solution.

Hello @lukeoneill90Apologies for the delay in the reply, but we got you covered.

You need to add the below code at the end of your base.css file in the assets folder.

 

Go to Shopify admin > Online store > Select theme

Edit code > Open the base.css file from the assets folder

Paste the code below in the last of the file and save it.

 

Here is the code:

 

.banner__box .banner__heading {

   margin-top: 0px !important;

   line-height: 50px !important;

}

 

.banner__box .banner__buttons {

   margin-top: 5px !important;

}

 

Let us know if you need any further help with this. 

 

Regards,

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
lukeoneill90
New Member
13 0 0

Great it works! Thanks so much.

I have another question regarding spacing but on another page. 

 

I would like to reduce the line spacing between a line and the sequential line after hitting the enter button. For each product page. Please see attached screenshot with the black annotated line again. 

 

Cheers

 

Screenshot 2023-02-01 at 18.02.20.png

 

lukeoneill90
New Member
13 0 0

@Cedcommerce Could you help?

Cedcommerce
Shopify Partner
718 76 113

Hello @lukeoneill90

 

Thanks for reaching out to CedCommerce. We are glad we made a difference. 

 

This issue can be resolved by adding a custom code to your base.css file. For your help we are providing the code below, add the same and your problem will be resolved. 

 

 

.accordion__content p{

   margin: 10px 0px !important;

}

 

You can check the results below. 

 

Before:-

Cedcommerce_0-1675688969253.png

 

image.png

 

After:-

Cedcommerce_1-1675688968622.png

 

image.png

Hope this helps, let us know if you need any further help. 

 

All the best,

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
RUUJIGLOBAL
Tourist
4 0 0

This worked very well, thank you 🙏

lukeoneill90
New Member
13 0 0

@Cedcommerce  Could you help?