asp.netdotnetnuke-6

highlight the selected menu item dotnetnuke


<%@ Register TagPrefix="dnn" TagName="LINKS" Src="~/Admin/Skins/Links.ascx" %>

<dnn:LINKS runat="server" id="LINKS1" CssClass="MenuLink" Alignment="Horizontal"
            Level="Root" ForceLinks="False" />

I have the following code to produce the menu item in my dotnetnuke site. I need to change the selected menu item color or apply a different css so the user knows where they are on the site. I tried doing this using jquery by going to Page Settings and under the Page header tag. It doesn't do anything. How would I be able to highlight or apply a different css to the selected menu item?

I will appreciate for your guys help on this.


Solution

  • I was able to fix this from the help of the url below.

    jquery to change the background color of a current page