Hi guys,
I would like to reduce the gap between the bar filter and collection image.
Thank you
A user seeks to reduce the vertical spacing between the filter bar and collection banner image on their Shopify store’s collection page.
Initial Problem:
Solution Provided:
MandasaTech offered CSS code to be added to the theme.liquid file before the closing </body> tag:
.collection-hero margin-bottom to 15px.collection-hero margin-bottom to 5px and .filters-toolbar-wrapper margin-bottom to 0pxCurrent Status:
Hi guys,
I would like to reduce the gap between the bar filter and collection image.
Thank you
I meant the collection image header
i reduce gap between filter bar and collection images .
Hello @Alliance
It’s GemPages support team and glad to support you today.
I would like to give you a solution to support you.
Go to Online Store → Theme → Edit code.
Open your theme.liquid theme file.
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Hello @Alliance
I would like to give you a solution to support you:
<style>
@media only screen and (min-width: 750px){
.collection-hero {
margin-bottom: 23px !important;
}
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me
I would like to give you a solution to support you:
<style>
@media only screen and (min-width: 750px){
.collection-hero {
margin-bottom: 15px !important;
}
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me
Worked excellent on desktop view, but on mobile view, no change. Also, if you can reduce the gap between the filter bar titles. Thank you
I would like to give you a solution to support you:
<style>
@media only screen and (min-width: 750px){
.collection-hero {
margin-bottom: 15px !important;
}
}
@media(min-width: 280px) and (max-width: 767px){
.collection-hero {
margin-bottom: 5px !important;
}
.filters-toolbar-wrapper {
margin-bottom: 0px !important;
}
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me
Was my reply helpful? Please Like and Accept Solution. This mean alot to me