Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi, so basically the navigation links from my website's hamburger menu appear the same color as the slide out background.
A while ago I made it so the website's header would change color from transparent to black upon scrolling down and it seems that the hamburger menu slide out changes color as well when scrolling.
It goes from white with black navigation links when at the top of the page, so readable when at the tippy top of the page, but then switches to a black background and black links when scrolling down, making the whole menu unreadable.
If anyone could help me I would really appreciate it. All I want is to basically change the navigation link's color to white when the menu is black so it's legible, or even simpler yet just make the slide out menu be one constant legible color pattern no matter where the page has been scrolled to.
I'm using dawn theme.
Solved! Go to the solution
This is an accepted solution.
Hey @Over_Heavens
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.scrolled-past-header * {
color: white !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @Over_Heavens
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.scrolled-past-header * {
color: white !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you so much for your help!
Your code is working perfectly, you really are a life saver!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hello @Over_Heavens
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-menu-drawer.css
add this code at the end of the file and save.
.scrolled-past-header * {
color: white !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Thank you so much for helping me!
II really appreciate it!
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024