Total Posts:
6
Karma:
50
Joined:
10/16/2012
Location:
Cambodia
Hi nop team, Do you have any idea to implement highlight color for selected menu? Could you guide me here Thanks Mick,
Total Posts:
285
Karma:
2710
Joined:
7/2/2012
Location:
India
modify in styles.css in Themes/yourtheme/content/ folder. and add .headermenu .topmenu li a:active { color:your color; ... }
Total Posts:
6
Karma:
50
Joined:
10/16/2012
Location:
Cambodia
That method does not work. Any other method, please? Thanks, Mick
Total Posts:
6
Karma:
50
Joined:
10/16/2012
Location:
Cambodia
I think that does not work... When the page is refreshed, the javascript click event does not fired... I have added this line... Now it is working class="@VeryCommonHelper.ActiveTopMenu(Url.RouteUrl("HomePage"))" Thanks elaa for keeping helping, Mick
Total Posts:
1
Karma:
5
Joined:
11/5/2012
Location:
United Kingdom
where is styles.css? do you need to be an admin to edit the colours and change the text, links etc?
Total Posts:
14
Karma:
116
Joined:
11/22/2016
Location:
India
Following thing you can also achieve using jquery. Following Below Example. <i class="icon-remove menu-close"></i> <a class="scroll" href="#intro">Home</a> <a class="scroll" href="#about">About</a> <a class="scroll" href="#services">Services</a> <a class="scroll" href="#team">Team</a> <a class="scroll" href="#portfolio">Portfolio</a> <a class="scroll" href="#contact">Contact</a> a.active { background:#e9d319; color: #000; } $(function(){ $("a[href='#intro']").addClass("active"); $("a.scroll ").click(function() { $("a.scroll").removeClass("active"); $(this).addClass("active"); }); });