Tagged: Travelify Menu
- July 31, 2019 at 3:15 pm #236632
Great theme for working on one of my first WP projects, thank you!
As stated in the subject line, when my site’s viewport is reduced to mobile sizes and the SELECT menu element kicks in, the default “selected” element is the very last item in the menu tree, whereas it should be the first item in the menu.
Please advise on how to fix this? I’ve been delving into the php and js files a bit and sort of understand how the “active” menu item is based on the current page, etc but cannot figure out why the last item is being selected by default.
The site is under construction, but can be seen at https://www.newenglandriders.org/wp
SteveJuly 31, 2019 at 5:58 pm #236651July 31, 2019 at 6:32 pm #236653August 1, 2019 at 3:54 am #236685This reply has been marked as private.August 1, 2019 at 4:20 am #236710August 2, 2019 at 5:43 am #236907
Good morning Steve
Still, I cant view dashboard 🙂 please extend it a little bitAugust 2, 2019 at 2:38 pm #236930August 5, 2019 at 8:31 am #237140
Sorry, but your website is not available this is the screenshot:
Attachments:August 5, 2019 at 12:17 pm #237149August 5, 2019 at 7:12 pm #237204August 6, 2019 at 3:34 pm #237321
You need to add a home page in the menu, otherwise, the last item will be selected by default, but if you don’t want to do that we can use this trick, I added a home element in the menu and used this code to hide it from the menu:
Let me know what you thinkAugust 6, 2019 at 4:12 pm #237326
That will work great, thank you so much for your help!
SteveAugust 7, 2019 at 4:33 am #237384
Thank you Steve 🙂
Let me know if you have other questions, i will close this case
The topic ‘tinynav mobile drop-down menu showing last menu item by default’ is closed to new replies.