FREEZE PRODUCT IMAGE (LEFT) WHILST SCROLLING DESCRIPTION (ON RIGHT)

Solved

FREEZE PRODUCT IMAGE (LEFT) WHILST SCROLLING DESCRIPTION (ON RIGHT)

flaminmoe
Excursionist
16 0 7

See a product on my store here:
https://www.maison-gstaad.ch/products/sophia-button-down-short-sleeve-dress

See store i am inspired by:
https://klarisse-stkilda.com/collections/bestsellers/products/ava-boho-dress-1

 

See on the inspiration store, the image freezes at the bottom of the image whilst scrolling until reaching the end of the description section on the right?

 

On my store, the image disappears right away and it becomes all white space on the left side, which looks crappy.

 

How do i make my store the same as the inspiration? Only for desktop view, my mobile view is fine!

 

Thanks...

Accepted Solution (1)

BiDeal-Discount
Shopify Partner
539 58 127

This is an accepted solution.

Hi @flaminmoe 

let try to add custom css code below:

@media screen and (min-width: 1000px) {
    .product-gallery {
        position: sticky;
        top: calc(var(--header-height) + var(--announcement-bar-height));
    }
}

then result:

BiDealDiscount_0-1746714506297.png

 

- Helpful? Like & Accept solution!
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Bify app: Shopify automatic discount solutions
- Contact me? support@bify.app or WhatsApp: +84974709330

View solution in original post

Replies 6 (6)

BiDeal-Discount
Shopify Partner
539 58 127

This is an accepted solution.

Hi @flaminmoe 

let try to add custom css code below:

@media screen and (min-width: 1000px) {
    .product-gallery {
        position: sticky;
        top: calc(var(--header-height) + var(--announcement-bar-height));
    }
}

then result:

BiDealDiscount_0-1746714506297.png

 

- Helpful? Like & Accept solution!
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Bify app: Shopify automatic discount solutions
- Contact me? support@bify.app or WhatsApp: +84974709330
flaminmoe
Excursionist
16 0 7

IT WORKED

devcoders
Shopify Partner
1458 173 454

Hello @flaminmoe 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:

 

@media screen and (min-width: 1000px) {
.product-gallery {
position: sticky;
top: calc(var(--header-height) + var(--announcement-bar-height));
}
}

 

devcoders_0-1746722479107.png

 



 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
flaminmoe
Excursionist
16 0 7

Hello! Where in the theme code do i paste!? Product page???

flaminmoe
Excursionist
16 0 7

NVM IT WORKED!!

 
flaminmoe
Excursionist
16 0 7

IT WORKED!