Top menu on doesn’t work after upgrade to WP 5.6
-
Today I have upgraded my site to the new WordPress 5.6. Unfortunately the top menu no longer works.
The menu is a standard two level menu with no special features.
When using the site from a pc, I can access the one menu point that doesn’t have a submenu. When trying to access any of the other menu points that have subpoints the browser just adds “#” to the URL, but stays on the same page.
When using the site from a smartphone the menu doesn’t work at all.
On the front page of my site I have now added the full menu with links as a work around for users to navigate the site.
I am using the theme “Dazzling” from “Colorlib”, but the menu is created in the standard WordPress menu editor.
Everything else seems to be working.
The page I need help with: [log in to see the link]
-
Same here.
This is because Dazzling theme includes an outdated Bootstrap v3.3.6,
WordPress 5.6 now comes with jQuery v3.5.1 and not 1.9.1 anymore.When opening DevTools you will see the error:
“Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3”Bootstrap supports jQuery 3 as far as I know from v3.3.7 on (which is from mid 2016 already) and below v5 (which doesn’t need jQuery anymore).
There are now two ways:
1.) get a more recent theme under active development
2.) update Dazzling’s Bootstrap to v3.3.7
To do so get the bootstrap.min.css and the bootstrap.min.js and put them into the respective folders in “/wp-content/themes/dazzling/inc/”.
Just discovered and tried that myself and Menu is working again. 🙂
- This reply was modified 3 years, 3 months ago by since2007. Reason: typo
Thanks for the reply.
Since I can see that Dazzling is no longer being updated, I have moved to another theme thinking that there will probably be more issues like this in the future.
Good to know that there is a solution if I want to go back to Dazzling though.
Thank you so much for this fix. I will start looking for another theme that is equally accessible but I thought I was going crazy because one day it worked and the next day it didn’t.
Yay for you smart dudes helping us out!
Update:
they just came out with a Dazzling version 2.1.3, but sadly I couldn’t find a changelog.
I tried it in a test enviroment and the above mentioned issue is still there, hence my fix is still working the same way.
- The topic ‘Top menu on doesn’t work after upgrade to WP 5.6’ is closed to new replies.