Subject: uk-active in uikit is not attached.

Posted on: 06/10/18 11:53am
By: OMAL

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.

Re: uk-active in uikit is not attached.

Posted on: 07/10/18 10:02am
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

Re: uk-active in uikit is not attached.

Posted on: 08/10/18 11:52am
By: OMAL

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.

Re: uk-active in uikit is not attached.

Posted on: 08/10/18 11:59am
By: Laugh

Okay thanks for letting me know.

Glad you found a work around.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=96895