I would like to increase the left and right space of featured product on the homepage. I’ve included a screenshot that displays two versions of the homepage - the screenshot on the left side (screenshot 1) shows my desired layout, while the screenshot on the right side (screenshot 2) show my current arrangement.
Theme Name: Impulse
Store address is: https://081623.myshopify.com/
Password: skeung
Thank you in advance
1 Like
Hi @technase
To adjust the spacing of the left and right of your featured product. Please follow the instructions below
- 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 “Asset” folder, click on “theme.css” file
- Add the code below at the very bottom of the file
.page-content.page-content--product .page-width {
max-width: 1000px;
}
See result
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
2 Likes
Can you please help.
It seems that this code has also reduced the left-right spacing on the product page. I only want to apply this padding to the featured product on the homepage. The product page should have its original left and right paddings.