Shopify themes, liquid, logos, and UX
Hi,
Basically what is happening is that if I scroll on my product page the image is supposed to keep the same distance from the header while the title, description, price, etc. scrolls down. However, the image does not stay still for the first part of scrolling, causing the header menu to cover a part of it. I would like the margin between the product image and header menu to not change.
My URL is https://vouwfatbike.nl/
A product page example is https://vouwfatbike.nl/en/products/windgoo-e20
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @tjieko You can use this code:
@media screen and (min-width: 750px) {
.product__column-sticky {
top: calc(var(--header-height) + 3rem) !important;
}
}
This is an accepted solution.
Hi @tjieko You can use this code:
@media screen and (min-width: 750px) {
.product__column-sticky {
top: calc(var(--header-height) + 3rem) !important;
}
}
Hi @tjieko , kindly use the below code:
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
@media screen and (min-width: 750px) {
.product__column-sticky {
top: calc(var(--header-height) + 3rem) !important;
}
}
</stlye>
Results:
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025