How to narrow gap between title and picture - Display on main page

Topic summary

A user is attempting to reduce excessive vertical spacing on their Shopify store’s homepage (hookeroad.com), specifically between titles and images, and between different page sections. The issue affects both desktop and mobile views.

Solutions Provided:

Multiple CSS code snippets have been shared to address different gap areas:

  • Adjusting .section-header margin-bottom
  • Modifying .jdgm-carousel-wrapper padding
  • Targeting .collection-list-section spacing
  • Mobile-specific fixes for .product-card and .product-item--media

All solutions involve adding custom CSS to the theme.css file.

Current Status:

The discussion remains ongoing. While some improvements have been achieved (particularly for mobile product card spacing), significant gaps persist. The user continues to request further adjustments to narrow the remaining spacing, indicating the issue is not fully resolved. Screenshots throughout the thread document the incremental progress and remaining problem areas.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

I’m trying to figure out how to narrow these gaps on my main page. Any help will be highly appreciated!

Url:hookeroad.com

  1. And there are gap between the 2 different sections, and how to remove this? I don’t know why this appears

@Dawn555

Please add the following code at the bottom of your css file.

@media only screen and (min-width: 750px){
.section-header {
    margin-bottom: 5px !important;
}
}
.jdgm-carousel-wrapper{
padding-top: 0px !important;
}

Hope this works.

Hi, thanks for your reply. But there are still most of gaps.

Hi @Dawn555

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

.section-header.page-width.homepage_subtitle_style_match_header {
    margin-bottom: 0 !important;
}

Result

Best,

DaisyVo

Thank you for your help. I added the code following the steps you mentioned, but there still seems to be most of the gaps on the mobile end.

I really wonder if there are other ways to adjust. :see_no_evil_monkey:

@Dawn555

Please add the following new code

@media screen and (min-width: 1200px){
.collection-list-section .section-header {
    margin-bottom: 0px !important;
}
}
.index-tabs-collections-wrapper .section-tabs-content {
padding-top:0px !important;
}

This is not easy :rofl:

Hi @Dawn555

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

@media (max-width: 768px) {
.product-card.product-card-wrapper {
    padding-top: 0 !important;
}

.product-card__image-with-placeholder-wrapper {
    margin-bottom: 0 !important;
}
.product-item--media {
    height: 355px !important;
}
}

Result:

Best,

DaisyVo

Thanks for your help.

This part improved a lot, but is it possible to narrow it down?