How can I eliminate the large gap on my mobile product page?

Hello everyone. Anyone got a solution to remove the huge gap from the product page picture, down to the text + add to cart?? Only on mobile

https://brushbuddy.dk/products/brush-buddy-elektrisk-tandboerste-sort

1 Like

Hello There,

Admin go to online store → themes → actions → edit code
Find Asset >timber.scss.css and paste this at the bottom of the file:

@media only screen and (max-width: 600px) {
.product-single__meta {
    padding-top: 0;
}
.product-single__add-to-cart {
    align-items: center;
    justify-content: center;
    margin-bottom: -25px;
}
button#AddToCart--product-template {
    margin-top: -27px;
}
}

Hi,
I hope you are doing good.

Kindly follow the steps below:

  1. Go to your Online store > Themes > Edit code
  2. Open your theme.liquid file
  3. Paste the below code before

I hope the above is useful to you.
Thanks!

Hi @MadsL1 ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:

Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/timber.scss.css->paste below code at the bottom of the file

@media only screen and (max-width: 590px) {
.slick-list.draggable {
    height: 500px;
}
.product-single__meta {
    padding-top: 0;
}
.product-single__add-to-cart {
    align-items: center;
    justify-content: center;
    
}
button#AddToCart--product-template {
    margin-top: -25px;
}
}

Hope my answer will help you.

Kate from PageFly Team

This did help a little. But there is still a big gap :disappointed_face:

This did help a little, but not the entire gap is gone :disappointed_face:

1 Like

Use this code I hope it help

@media(max-width:767px){
.product-single__photos {
    margin-top: -22px !important;
    padding-bottom: 0px !important;
    margin-bottom: -20px !important;
}
.grid__item.product-single__meta--wrapper.medium--five-twelfths.large--five-twelfths {
    margin-top: -15px !important;
   }
}
ul.slick-dots {
    margin-bottom: 42px !important;
}

I see your problem has been solved. I’d be happy if you want any help

Best regards,

Kate