Changing Webflow default CSS style- Dropdown menu

Hi,
I’m trying to change the style of .w-dropdown-link.w–current - which has that bright blue color by default.

I’ve written my override:

.w-dropdown-link.w--current{ color: #1d304e !important; }

I’ve tried to add it inside page’s head tag- didn’t work, I added it to custom code section of the website in site settings- didn’t work. I tried to add it as HTML embed on the page- still doesn’t work.

Why can’t I override this simple color? Anyone knows?

Please include your site’s Read-Only Share Link with your question.
A read-only link allows the community to view your project without making any edits to it and help diagnose your issue or provide feedback.

If your project has custom code or layout issues on the published site, please share that URL/URI as well.

https://forum.webflow.com/t/how-to-enable-a-webflow-share-link/2573r