-
Notifications
You must be signed in to change notification settings - Fork 335
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
Dropdown not working #396
Comments
Well your clue right there! If you remove all of your JS files and the Dropdown menu works, its highly likely that something in those JS files is interfering with it. I can say with some confidence that the Understrap parent + child themes, out of the box (without any customisation) do not produce the issue you are seeing? I would start by incrementally commenting out individual functions within your JS files until you isolate the function that is interfering with your drop down menu. Hope that helps? |
Hello, Thank you for your reply, after some digging I've found that the menu seems to be using bootstrap 4, and the rest of the site is fine using bootstrap 5, i moved all the default understrap js back over and removed my custom but no dice :( |
Hello, adding onto this, I realised this was a mistake by myself, I have a bootstrap blocks plugin within wordpress so the JS from that was conflicting with understrap, I just un-ticked, 'Exclude JS' from the bootstrap blocks plugin. I suppose if anyone has this issue in the future this is the fix :) |
Hello,
I am using the Understrap child theme in my wordpress site, with the Understrap Parent also present.
In my menu I have sub items, but the dropdown menu doesn't seem to add the class 'show' to the ul below, when i remove all the JS files from the js folder in my custom theme, the dropdown then works?
Would anyone have an idea a to what is occurring here?
Site for reference https://dev.globalshadingday.com/
The text was updated successfully, but these errors were encountered: