Tổng Bài đăng:
6
Karma:
50
Đã tham gia:
16/10/2012
Vị trí:
Cambodia
Hi nop team, Do you have any idea to implement highlight color for selected menu? Could you guide me here Thanks Mick,
Tổng Bài đăng:
285
Karma:
2710
Đã tham gia:
02/07/2012
Vị trí:
India
modify in styles.css in Themes/yourtheme/content/ folder. and add .headermenu .topmenu li a:active { color:your color; ... }
Tổng Bài đăng:
6
Karma:
50
Đã tham gia:
16/10/2012
Vị trí:
Cambodia
That method does not work. Any other method, please? Thanks, Mick
Tổng Bài đăng:
6
Karma:
50
Đã tham gia:
16/10/2012
Vị trí:
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
Tổng Bài đăng:
1
Karma:
5
Đã tham gia:
05/11/2012
Vị trí:
United Kingdom
where is styles.css? do you need to be an admin to edit the colours and change the text, links etc?
Tổng Bài đăng:
14
Karma:
116
Đã tham gia:
22/11/2016
Vị trí:
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"); }); });