Adjusting Featured Product Spacing On Homepage - Impulse Theme

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.

Please remember that I want this only on the featured product of homepage. This shouldn’t affect the spacing on product page.

Theme Name: Impulse
Store address is: https://081623.myshopify.com/
Password: skeung

1 Like

Hey @technase

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

I am sorry you must have misread my request. What I’m looking for is to have the same left and right spacing in the featured product section on the homepage as it appears in screenshot 1.

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--20490103947552__714c5753-059b-492d-bc70-40b53ae22b2d-8558186987808 .page-content.page-content--product {
    padding: 50px 80px 50px 80px;
}
  • And Save.

I hoep it help.

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

Hi @technase

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css

.page-content--product {
    width: 70% !important;
    margin: 0 auto !important;
}

Hope you find my answer helpful!
Best regards,
Richard | PageFly