-
Notifications
You must be signed in to change notification settings - Fork 4
dropdown menu doesn't work anymore #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is because of the bug in Bootstrap 4.2.1 not from other. From that issue, please see examples from these links.
To hot fix in your website, please add custom menu as dropdown parent menu and use This bug will be fixed once Bootstrap 4.3 released as seen in issue's project described that shipped in v4.3. If Bootstrap 4.3 released, I will update this theme and release as soon as possible. |
Hello, thanks for the very fast reply.. I've read the bug at BS, I've checked the examples, I've done that hotfix. The code looks like it should (href="#"), but it still doesn't work. Very puzzled |
Please take a look at my screenshot. Make sure that you use Custom Link with If your site use any cache, please clear all the cache first and then CTRL+F5 to force reload front page (without cache). I hope that this will be helped, please tell me again if it is working or not. |
hi, yes exactly what I did, I've checked the frontend and it is correct in the syntax, still doesn't work. Disabled Cache and tried also Chrome... |
That is really strange because all my local and online WordPress using this theme can fix with this. If all the parent menu that contain dropdown is already custom menu and still not working, I recommend you to roll back to use Bootstrap Basic 1.2 instead and skip or disable update for this theme until I release the new version. Sorry for the inconvenient and I hope that BB1.2 is still working fine. |
I ran in to this issue too and it took me a long time to work out how to fix. In the end I used a bit of jQuery like this and added to the footer - it fixed the issue: <script>
jQuery("a[href='https://example.com/dropdown-menu-page/']").attr('href', '#');
</script> |
thanks @coliff the js snippet is partly working, I notice the responsive hamburger menu is not working either |
The responsive hamburger menu is working fine for me - maybe your issue is unrelated to this? Do you have a public link to your site in question so we can take a look? |
Thank you @coliff .
|
@flth From your URL, it seems that bootstrap.bundle.min.js is missing. That's why it is not working. https://github.com/Rundiz-WP/bootstrap-basic4/blob/master/inc/classes/BootstrapBasic4.php#L89 |
Ok, I had removed that script before shortly for testing. Have it back and can't explain but it works again after I created a new menu entry with the same settings (url as #). |
Seems with WP 5.0.3 there is a bug that dropdown (sub menus) doesn't work anymore. Clicking on an entry doesn't do anything. Reason unknown for me
The text was updated successfully, but these errors were encountered: