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`);
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025