I’m trying to figure out how to narrow these gaps on my main page. Any help will be highly appreciated!
Url:hookeroad.com
- And there are gap between the 2 different sections, and how to remove this? I don’t know why this appears
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:
.section-header margin-bottom.jdgm-carousel-wrapper padding.collection-list-section spacing.product-card and .product-item--mediaAll 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.
I’m trying to figure out how to narrow these gaps on my main page. Any help will be highly appreciated!
Url:hookeroad.com
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 @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. ![]()
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;
}
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