Hello,
I have a main menu which has sub menu items and a sub sub menu items like ‘Food’–>‘Recipes’–>‘Soup’.
When I click on ‘Food’ and / or I click on ‘Recipes’ the main menu text ‘Food’ is displayed in green color – to show the active menu state. However, when I click on the sub sub menu ‘Soup’ the main menu text ‘Food’ is no longer displayed in the active state green but reverts back to the inactive state black.
Looking at the html code I can see that when a sub sub menu item is active the main menu gets no flag that indicates it is supposed to be active. This is the html code when the sub sub is active:
I can reproduce the problem, but due to the complexity of the menu it is not easy to cover all conceivable scenarios. Can you perhaps briefly test whether the following custom CSS works in your menu or whether there are problems elsewhere in the menu?
Please reset the active styles in the menu settings first and then add this to style » custom css:
@timmse thank you for the code. I did apply it but when I click on the sub sub menu item it only affects the color of the sub menu item . The font color and background color of the submenu active element changes not the main menu element.
Using my example from above ‘Food’–>‘Recipes’–>‘Soup’ — when I click on Soup the font color and background color of ‘Recipes’ changes. ‘Food’ is unaffected and still shows the inactive color.
Would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?
I think it’s much easier when I see the menu in front of me
You click on the menu item ‘Food’ it turns green. Click on sub item ‘Recipe’ then ‘Food’ stays green. That is correct. Click on the sub sub item ‘Soup’ and ‘Food’ reverts to black which is wrong.
thank you very much. This workaround does the job.
The mobile menu has a similar issue. When a sub menu item is active the main item is not visibly active (I set the active background color to green but it stays black). When a sub sub is active neither the main menu item nor the sub menu item is visibly active.