removing padding under product page in shopify

Solved

removing padding under product page in shopify

Byron
Tourist
5 0 5

my website is https://curahealing.co/collections/frontpage/products/massager-cervical-hot-pillow

 

In the mobile version it looks like this

photo_2024-07-19_17-45-53.jpg

the empty space i've circled in red... I want to remove that padding and i don't know how if anybody has the solution i would appreciate it if you would share it with me 🙂 thank you

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 835 908

This is an accepted solution.

Hi @Byron

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
  @media only screen and (max-width: 768px) {
    .page-content--product {
        padding-bottom: 0 !important;
    }
    
    
   .shopify-section.index-section:has(.theme-block) {
    margin-top: 0 !important;
   }
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721435420535.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10043 2388 3015

Hi @Byron,

If you want to adjust for this particular section, please follow the instructions below.
1. From you Admin page, go to Online Store > Themes

2. Select the theme you want to edit

3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)

4. Then place the code below at the very bottom of the file.

 

#shopify-section-template--23128100471065__main .page-content.page-content--product {
    padding-bottom: 0;
}

div#shopify-section-template--23128100471065__rich_text_QDQzMQ {
    margin-top: 0;
}

 

  • And Save. 
  • result:

Made4uoRibe_0-1721433943332.png

 

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

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

BSSCommerce-HDL
Shopify Partner
2305 835 908

This is an accepted solution.

Hi @Byron

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
  @media only screen and (max-width: 768px) {
    .page-content--product {
        padding-bottom: 0 !important;
    }
    
    
   .shopify-section.index-section:has(.theme-block) {
    margin-top: 0 !important;
   }
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721435420535.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now