Best practice forum (Archived)

该论坛讨论已删除

 
该论坛帖子已被删除
2016年11月28日 Monday 02:25
该论坛帖子的内容已被删除,无法再访问。
Barnes (Core Developer)Brian
Re: Selected class for custom menu items
Barnes (Core Developer)Brian 发表于 2016年11月28日 Monday 14:41
小组 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