Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › "menu active state" for the one-page navigation
New Landing › How can we help? › Themeforest Theme Support › Dante › "menu active state" for the one-page navigation
- This topic has 18 replies, 4 voices, and was last updated 8 years by Kyle – SUPPORT.
-
Posted in: Dante
-
January 20, 2016 at 2:43 pm #242270
Hello,
We were wondering if you guys have figured out how to fix the “menu active state” for the one-page navigation with the ID’s? I saw back in June 2014 (on this post), Swift Ideas – Ed said, “menu active state is something we’re working on adding.” We know how to disable it completely for now, but would much rather prefer for it to be enabled and working correctly as you click on each menu item.
Looking forward to hearing back!
Thanks!
January 20, 2016 at 3:57 pm #242293Hi
Have you tried using #sectionid as your link? This should show the active state. If not I’ll check this with the developer
– Kyle
January 20, 2016 at 4:30 pm #242297Could you please be more specific on what you mean about using #sectionid as your link? For example, currently my first section in my one-page nav menu is “About”, the Spacer ID for that section is “aboutus”, and in the menu I use “#aboutus” for the URL. Are you telling me to try something different than what I have currently? I really hope the developers figured out how to fix this.
Thanks
January 20, 2016 at 4:35 pm #242303No that’s correct, does that not give you the active link?
– Kyle
January 20, 2016 at 4:46 pm #242307No, “Home” is always the active link that is underlined – no matter if you click on any of the other menu items that bring you down the page to each Section ID. That’s why I was wondering if, since June 2014, the developers had figured out how to fix it.
January 20, 2016 at 4:50 pm #242308I’ll forward to Ed for you
– Kyle
January 20, 2016 at 4:50 pm #242309I’ll forward to Ed for you
– Kyle
January 20, 2016 at 5:01 pm #242312Thank you, I appreciate all help on this issue.
January 21, 2016 at 11:33 am #242496No problem
January 21, 2016 at 8:27 pm #242668Did this get forwarded to Ed? Just wondering when I might hear from him on this issue..
Thanks
January 22, 2016 at 2:17 am #242710Hi @21cls_media
Yes it was added – you are using a very outdated version of Dante, it is on v3.2.3 now.
– Ed
January 25, 2016 at 6:47 pm #243503Ed,
Thank you for alerting us to our outdated theme – we went ahead and updated WordPress and Dante! The menu is currently working now but we have now run into the issue of having the “Home” button always in “active state” while other menu buttons are in “active state”. I do get that “technically” we are always on the “Home” page and that is probably why it is always active, but we would like to turn off the active state of the “Home” button while other menu buttons are in active state (basically, making the “Home” menu button serve as a “back to top” link).
Is there code to make this possible?
Thanks again for all of your help so far.
January 25, 2016 at 6:53 pm #243508Hi,
Please test this custom CSS:
li.menu-item-1445.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-1405.current_page_item a { color: #fff; } li.menu-item-1445.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-1405.current_page_item span { background-color: #fff!important; }
Thanks.
January 25, 2016 at 7:28 pm #243531David,
I don’t think that the custom CSS you provided changed anything. What was it supposed to do?
January 25, 2016 at 9:39 pm #243576Hi,
For me that removing your Home link activate state, is that what your asking?
Thanks.
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.