How to reduce spacing between product page sections

How to reduce spacing between product page sections

CameronO
Excursionist
43 1 22

Hello, as you can see by the screenshot indicatted with the orange lines, I would like to reduce the space in these areas. How do I do this? Any help would be greatly appreicated. Store URL: https://themovingstories.com/collections/all-products/products/our-wedding

CameronO_1-1735581147306.png

 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9567 2278 2826

Hi @CameronO 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.product-block:has(.rating-stars-inline), .product-block.product-block--header {
    margin-bottom: 0;
}

.easify-product-options .tpo_option-set-wrapper {
    padding: 0;
}

.product-block:has(.rte) {
    margin-bottom: 10px;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1735596410917.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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 ⚙️.

DaisyVo
Shopify Partner
2355 291 333

Hi @CameronO ,

 

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

 

.product-single__meta > .product-block.product-block--header {
    margin-bottom: 0 !important;
}
.product-single__meta > div[data-product-blocks] > div {
    margin-bottom: 5px !important;
}

 

Here is the result:

DaisyVo_0-1735617772971.png

 

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution