Can't define active/current menu item

2 replies · opened Sep 20, 2020

NNEROVIKSep 20, 2020

Hello,

Main menu - No sublinks

	
		
			
- 
			 [TEST/\ Métier](index.html)

/* CSS */
.dark .menu-item:hover > .menu-link,
.dark .menu-item.current > .menu-link {
	color: #E24A37!important;
}

I put "current", I tried "active" but it does not work.
Thanks in advance for help.

SSemicolon WebSTAFFSep 21, 2020

Hello,

Please add the .current Class to the .menu-item Element (not the .menu-link Element).

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

NNEROVIKSep 21, 2020

Perfect. Many thanks

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard