Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
I'd like to highlight current selected menu in top navigation.
The navigation of geeklog with uikit and custom-menu plugins, seems automatically remove default uk-active class.
I'm using custom-menu plugin and I tried to attach a custom class to the navi :
$('#navigation_ul>li'Wink.on('click',function(){
$(this).addClass('someclass_active'Wink;

But clicking a link in the navigation add someclass_active to the li tag for a second then automatically remove the class before finishing loading the linked page. So that's not working.

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Are you using this Menu Plugin?

https://www.geeklog.net/downloads/index.php/1140_5b1961eec3caa

What version of Geeklog are you using and what theme?

At the moment I am not sure how to fix the problem. I will have to look into it in more detail but that most likely will happen on Tuesday.

Tom
One of the Geeklog Core Developers.

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
Quote by: Laugh

Are you using this Menu Plugin?

https://www.geeklog.net/downloads/index.php/1140_5b1961eec3caa

What version of Geeklog are you using and what theme?

At the moment I am not sure how to fix the problem. I will have to look into it in more detail but that most likely will happen on Tuesday.

Tom


It's not Menu Plugin. The version of Geeklog is 2, with customized theme based on Denim.
It looks like extended plugin in geeklogjp.
I have added breadcrumbs to highlight current selected category, instead of modifying uikits, so that you don't have to deal with this issue any more.

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Okay thanks for letting me know.

Glad you found a work around.
One of the Geeklog Core Developers.