Can someone help me with adding space between and under the text "You may also like"

Topic summary

A user seeks help adding spacing above and below the ā€œYou may also likeā€ section on their Shopify store’s product page.

Initial Solution Attempt:

  • A CSS code snippet was provided to add 40px top margin to the product recommendations section
  • Code should be added to the bottom of the style.css file via Themes → Edit Code → Assets → style.css

Issue Identified:

  • The user reported the initial CSS solution wasn’t working
  • Upon inspection, the theme code was found to have a missing closing tag

Resolution:

  • The problem was identified as a structural HTML/code issue rather than just CSS
  • A screenshot was provided showing exactly where to add the missing closing tag to fix the spacing issue

The discussion appears resolved with the identification of the root cause (missing closing tag) and visual guidance for implementation.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

link to website: https://ywx1slacuqu5yzni-65734639831.shopifypreview.com

Hi @OneCap

This is David at SalesHunterThemes.

Thank you for your question.
Follow this path:

Themes => edit code => asset => style.css

and add this code to bottom of the file style.css

.section-product-recommendations .collection-listing {
margin-top: 40px;
}

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

David | SalesHunterThemes team

It’s not working …

not working…

Hi @OneCap
Just checked your theme code and found that it missed a closing tag.
So to fix the problem you only need add close tag.
Follow this image to know how to update code

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

David | SalesHunterThemes team

1 Like