My hamburger menu slides out completely black when clicked.

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.

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 tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

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

1 Like

Thank you so much for your help!

Your code is working perfectly, you really are a life saver!

1 Like

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.

Thank you so much for helping me!

II really appreciate it!