Anzahl der Beiträge:
6
Karma:
50
Beigetreten:
16.10.2012
Herkunft:
Cambodia
Hi nop team, Do you have any idea to implement highlight color for selected menu? Could you guide me here Thanks Mick,
Anzahl der Beiträge:
285
Karma:
2710
Beigetreten:
02.07.2012
Herkunft:
India
modify in styles.css in Themes/yourtheme/content/ folder. and add .headermenu .topmenu li a:active { color:your color; ... }
Anzahl der Beiträge:
6
Karma:
50
Beigetreten:
16.10.2012
Herkunft:
Cambodia
That method does not work. Any other method, please? Thanks, Mick
Anzahl der Beiträge:
6
Karma:
50
Beigetreten:
16.10.2012
Herkunft:
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
Anzahl der Beiträge:
1
Karma:
5
Beigetreten:
05.11.2012
Herkunft:
United Kingdom
where is styles.css? do you need to be an admin to edit the colours and change the text, links etc?
Anzahl der Beiträge:
14
Karma:
116
Beigetreten:
22.11.2016
Herkunft:
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"); }); });