Shopify themes, liquid, logos, and UX
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...
Solved! Go to the solution
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:
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:
IT WORKED
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));
}
}
Hello! Where in the theme code do i paste!? Product page???
NVM IT WORKED!!
IT WORKED!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025