I have trouble with the interactions of my navigation bar. I want it to act as the one on PCSCHEMATIC: Electrical CAD software. Cable routing software. that it turns white when I press product, and goes back to the normal navigation bar when I exit the menu. For exiting the menu I need to press twice on the navigation bar again to go back. I understand this is a problem with the 2nd click interaction, but how can I solve this? Any other pointers for achieving the same navigation bar as the site I linked would be highly appriceated.
You should be able to go for that by using dropdowns rather than links, and instead of setting interaction to happen on 1st and 2nd click you can do dropdown open and dropdown closes. Let me know if this helps.
Thank you, I will try this out and see if it works
Now I’ve change the links to be dropdowns instead, but it seems difficult to be able to control the colors on the navigation bar when its open. Do you have any tips on how I can make this possible?