Hi,
I need help with decreasing size between my header and product image in product page. It was normal but somehow suddenly the space increase. Here’s an example
I’ll be grateful for help
A user encountered an unexpected increase in spacing between the header and product image on their product pages. After sharing their store URL (Glovyz one.com), multiple solutions were proposed involving custom CSS code.
Proposed Solutions:
.swiper-zoom-container>img with margin-top: -80px</body> tag.swiper-slide for mobile devices (max-width: 768px).swiper-slide elementsResolution:
The user confirmed one of the CSS solutions worked successfully. All proposed fixes involved editing the theme’s CSS or liquid files to reduce the vertical spacing through negative margins or padding adjustments. Screenshots were provided showing the before/after results of the spacing reduction.
Hi,
I need help with decreasing size between my header and product image in product page. It was normal but somehow suddenly the space increase. Here’s an example
I’ll be grateful for help
Hello,
Please share “Store URL”
Thanks!
Share URL please
.swiper-zoom-container>img{
margin-top: -80px !important;
}
If its helpful please Like and Accept as solution
Hey @Alexdontero
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
It doesn’t work idk why
Thanks it’s working
Hello, @Alexdontero
@media (max-width: 768px){
.swiper-slide {
margin-top: -80px !important;
}
}
Thanks!
Hi @Alexdontero
.swiper-slide.s-media-51168418660686.swiper-slide-active {
padding-top: 24px !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!