Decrease padding on product page - impulse theme

Can anyone help me with decreasing the left right space on my product page ?

Please remember, I’m looking for the adjustments specific to the product page, and it should not impact the padding of featured products on the homepage.

Theme: Impulse

Store address: https://evvr-beauty.myshopify.com/
Password: pialtu

1 Like

Hi @technase

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:
div#ProductSection-template--20627008094511__main-8829568287023 .page-width {
    padding: 0px !important;
    
}
  • And Save.

I hope it help.

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

Hi @technase

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

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

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

.page-content.page-content–product .page-width {

max-width: 100% !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Hi @technase

Thanks for asking a good question in the community.

I am here to help you.

I reviewed the website where you shared the URL. Please follow the steps below and you will be good to go.

Note:- This code only works for the product page of the website and does not impact any page or any section of the website except the product page.

Steps

  1. Open your store dashboard.
  2. On three dots open the edit code on a theme.
  3. open the file theme.css
  4. Paste the below code at the bottom of the file and click on Save.
  5. Now refresh your website and you will see the changes.
.template-product .page-content.page-content--product .page-width {
    max-width: 1300px !important;
}
1 Like

this is perfect Aasish. Thank you.