Best practice forum (Archived)

This forum discussion has been removed

 
This forum post has been removed
Monday, 28 November 2016, 2:25 AM
The content of this forum post has been removed and can no longer be accessed.
Brian Barnes (Core Developer)
Re: Selected class for custom menu items
by Brian Barnes (Core Developer) - Monday, 28 November 2016, 2:41 PM
Group Totara

Hi Christoph,

In this case, you are using URL's that already exist in the menu. If you look at your first screenshot, you will see that the "Calendar" menu option has been selected (as you are using that URL). In the second screenshot, the "courses" option has the selected CSS class (again as you are using that URL).

I suspect that if you use a URL that is not already in the menu, you sill see the item you select will have the "selected" CSS class.


Cheers,

Brian Barnes