Welcome to Geeklog Saturday, December 15 2018 @ 08:22 am EST

Geeklog Forums

uk-active in uikit is not attached.


Status: offline

OMAL

Forum User
Chatty
Registered: 06/12/17
Posts: 63
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: 27/09/05
Posts: 1317
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
Chatty
Registered: 06/12/17
Posts: 63
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: 27/09/05
Posts: 1317
Okay thanks for letting me know.

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

All times are EST. The time is now 08:22 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content