Removing padding

Shopify Partner
63 0 10

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.



Replies 2 (2)
Shopify Partner
4092 937 1143

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) { {
    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.
Please don't forget to 



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

Shopify Expert
867 109 112

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;}







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

Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin