I am confused, this conversation started with Leo recommending that I use off canvas instead, which I did and asked if it did not include submenu controls, to which he gave me the code.
I also sent you a screenshot to show what I am talking about.
Putting it at the top solved it! indeed there must have been other css for mobile nav that was conflicting. Phew I thought I was going crazy because you previously told me the code was working;D
Thank you for your help.
If it was just a conflict, then the code would still show when we use browser inspect.
Since the code didn’t show and it worked on top of the editor, that is saying there is a syntax error (missing/extra brackets or semicolon etc) in the rest of the CSS.