DNN skins - active menu items

12.madu
36 Posts
12.madu posted this 30 December 2016

I used Themler to create a DNN theme.

I want a different color and different color underline for the active menu item. I selected "active" state and applied it. But it is not loading on the theme. This is not working. Please, can you check this and can you advise us please?

Thanks!

I used Themler to create a DNN theme. I want a different color and different color underline for the active menu item. I selected "active" state and applied it. But it is not loading on the theme. This is not working. Please, can you check this and can you advise us please? Thanks!

Last edited 30 December 2016 by 12.madu

Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
jos
1 Posts
jos posted this 02 January 2017

I also use the DNN theme.
I'm also struggeling with the underline color for the active state but than for a text link.
This is also not working.

I also use the DNN theme. I'm also struggeling with the underline color for the active state but than for a text link. This is also not working.
Support Team
Support Team posted this 09 January 2017

Hi,

For first level items you can try adding native DDR menu token to the menu:
- open \Portals\_default\Skins\menu_test\Menu_2\SimpleTokens.txt file
- find the TOP level items and add SELECTED token with active class:
[?SELECTED] class="active"[/?]

For example:
<a href="[=URL]" [?TARGET]target="[=TARGET]" [/?] [?SELECTED] class="active"[/?]>[=TEXT]</a>

This should help.

jos,

What exactly links you're referring to?

Thank you,
Olivia

Hi, For first level items you can try adding native DDR menu token to the menu: - open `\Portals\_default\Skins\menu_test\Menu_2\SimpleTokens.txt` file - find the TOP level items and add SELECTED token with active class: `[?SELECTED] class="active"[/?]` For example: `<a href="[=URL]" [?TARGET]target="[=TARGET]" [/?] [?SELECTED] class="active"[/?]>[=TEXT]</a>` This should help. **jos**, What exactly links you're referring to? Thank you, Olivia
You must log in or register to leave comments