Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Remove Side Padding on Product Page

Solved

Remove Side Padding on Product Page

jadedheart32
Tourist
7 0 2

How can I reduce the padding on the sides on the product page only? I want more space for the product descriptions to expand on the right. Everything feels too squished in the center.Screen Shot 2024-10-20 at 3.25.34 PM.png

 

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
10256 2038 2108

This is an accepted solution.

Hi @jadedheart32 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings. 

product-info .page-width:has(.product) { max-width: 1600px; }

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 4 (4)

amine_diouane
Shopify Partner
35 4 6

can you provide your website URL

Made4uo-Ribe
Shopify Partner
9052 2163 2669

Hi @jadedheart32 

Please, share your store URL. 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

Entaice
Trailblazer
149 10 42

To remove side padding on the product page in Shopify, you can add some custom CSS. Here’s a simple way to do it:
1. Go to your Shopify admin.
2. Click on "Online Store," then "Themes."
3. Find your current theme and click on "Actions," then "Edit Code."
4. In the "Assets" folder, look for a file named `theme.scss.liquid` or `styles.scss.liquid`.
5. Open that file and scroll to the bottom.
6. Try something like this CSS code:
css .product-template { padding-left: 0; padding-right: 0; } 
7. Save your changes. 

You can increase your revenue by 5% by replacing Shopify's default sorts. Test for free. **Show me how**

Dan-From-Ryviu
Shopify Partner
10256 2038 2108

This is an accepted solution.

Hi @jadedheart32 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings. 

product-info .page-width:has(.product) { max-width: 1600px; }

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.