Welcome to Geeklog, Anonymous Thursday, December 12 2024 @ 06:37 pm EST
Geeklog Forums
uk-active in uikit is not attached.
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 :
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.
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'.on('click',function(){
$(this).addClass('someclass_active';
$(this).addClass('someclass_active';
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.
29
18
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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.
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.
23
22
Quote
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.
26
18
Quote
All times are EST. The time is now 06:37 pm.
- 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