Shopify themes, liquid, logos, and UX
Hi,
Previously, my navigation bar was transparent, then when I scrolled through the page. It would become a sticky navigation bar with a navy background which was exactly what I wanted. However, one day I opened editor and it just became forever transparent. The navigation bar is sticky when I scroll, but the background is transparent. How can I fix this?
Thank you,
Chichi0114
Solved! Go to the solution
This is an accepted solution.
Hi @chichi0114
Please share your store url.
This is an accepted solution.
Hi @chichi0114
Please share your store url.
Hi Kyle_liu,
I just sent you a direct message!
Best,
Chichi0114
edit theme code, in file 'sections/header.liquid'
setHeaderHeight() {
document.documentElement.style.setProperty('--header-height', `${this.header.offsetHeight}px`);
}
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024