Re: Product image goes behind sticky menu - Refresh theme

Solved

Product image goes behind sticky menu - Refresh theme

ekonshin
Visitor
2 0 0

Hello!

 

Tried to search but didn't find a similar issue. I have a shop on Refresh theme (whiskygrail.com). The sticky menu is activated and the logo is minimized on scrolling. My problem is that on the product page, the image goes behind the sticky menu during the scrolling. How can I fix that the image sticks right under the menu?

 

ekonshin_0-1707398809907.png

 

 

Accepted Solution (1)
ThePrimeWeb
Shopify Partner
2138 616 502

This is an accepted solution.

Hey @ekonshin,

 

Ok sorry I understand now 😊. If you want it to remain completely visible during half scroll like below, then follow the instructions after the image 

ThePrimeWeb_1-1707399247125.png

 

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
@media only screen and (min-width: 750px) {
    .product__column-sticky {
        top: 20rem !important;
    }    
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_2-1707399337133.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? [email protected] or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 4 (4)

ThePrimeWeb
Shopify Partner
2138 616 502

Hey @ekonshin,

 

Sorry I don't understand. A sticky menu is always infront of everything. 

This is how I currently see it. If you scroll down, of course the product details are going to go behind the header.

ThePrimeWeb_0-1707399074422.png

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? [email protected] or check out the website
Check out our interview with Shopify!
ThePrimeWeb
Shopify Partner
2138 616 502

This is an accepted solution.

Hey @ekonshin,

 

Ok sorry I understand now 😊. If you want it to remain completely visible during half scroll like below, then follow the instructions after the image 

ThePrimeWeb_1-1707399247125.png

 

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
@media only screen and (min-width: 750px) {
    .product__column-sticky {
        top: 20rem !important;
    }    
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_2-1707399337133.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? [email protected] or check out the website
Check out our interview with Shopify!
ekonshin
Visitor
2 0 0

Works perfectly, thank you!

Mass86
Tourist
21 0 0

Hi! 

I pasted the code, but instead of the image sticking, the text is sticking to the top. How can I get the other side to stick? (the image side)

Thank you!