How can I effectively decrease padding within my theme?

How can I effectively decrease padding within my theme?

GildedSocial
Shopify Partner
66 0 11

Trying to remove some padding within my theme and wondering how to do so.

 

Screenshots are attached for spaces I would like to decrease in padding.

https://8swcg7igixe5a2lp-60882223346.shopifypreview.com

 

IMG_8354.jpgCapture.PNG

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6841 1634 2014

Hi @GildedSocial ,

I understand that you want to reduce the padding of the specific are of your store. 

Try this. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "theme.css, styles.ccs or base.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:
  4. And Save.

 

@media only screen and (max-width: 430px) {
.homepage-featured-content-box-inner.wow.fadeInUp {
    padding: 5px;
}
}

 

  • Result:
  • Ribe_Dagandara_0-1685989742256.png

    And for the 2nd one. 

 

.homepage-sections-wrapper.homepage-sections-wrapper--white {
    padding-bottom: 10px;
}

 

  • Result:
  • Ribe_Dagandara_1-1685989871467.png
  • If you like to reduce more this one let me know. 
  • I hope it help.
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

INA_MSWEB
Shopify Expert
1228 142 155

Hi @GildedSocial 


I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the theme.min.css file:

@media only screen and (max-width: 767px){

.shopify-section .homepage-sections-wrapper {padding-bottom: 15px !important;}

}

 

 

 

Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin