How to decrease size between header and product page image

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:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. 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

  1. Go to Online Store
  2. Edit Code
  3. Find theme.css/base.css file
  4. Add the following code in the bottom
@media (max-width: 768px){
.swiper-slide {
    margin-top: -80px !important;
}
}

Thanks!

Hi @Alexdontero

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.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!