Reduce the padding on slideshow mobile view - dawn theme

Solved
BraxtonEcom
Explorer
75 0 14

I'd like to reduce the padding on the slideshow section on mobile view - I've highlighted the upper and lower space part of the text bit of the section that I'd like reducing.

 

Any advice is really appreciated.

 

Dawn theme

URL: https://brain-boost.co.uk/

 

Screenshot 2023-10-10 192125rre.png

Braxton
Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4111 942 1148

This is an accepted solution.

Hi @BraxtonEcom 

Try 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:

 

@media only screen and (max-width: 749px){
.banner__box { 
    padding: 2rem !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696967501245.png
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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 2 (2)
Natasha-Saed
Shopify Partner
303 32 55

1) Go to online store
2) Edit Code
3) Open your section-image-banner.css file
4) Paste the following code at the bottom:

@media only screen and (max-width: 768px) {
.banner__box {padding-top: 1rem !important, padding-bottom: 1rem!important;}
}

5) Save.

Let me know if it work by marking it as a solution.

NatashaSaed_0-1696962638602.png

 

 

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
Made4uo-Ribe
Shopify Partner
4111 942 1148

This is an accepted solution.

Hi @BraxtonEcom 

Try 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:

 

@media only screen and (max-width: 749px){
.banner__box { 
    padding: 2rem !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696967501245.png
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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com