In my current project, I am working on creating a dropdown menu using MetisMenu found at https://github.com/onokumus/metisMenu.
I have made some progress which is showcased in the animated .gif below.
https://i.sstatic.net/Bh4qq.gif
Upon hovering over the dropdown menu, you'll notice a blue background appearing. How can I remove this? Is it an issue with Bootstrap or MetisMenu?
Additionally, how can I ensure that when a dropdown menu is open with aria-expanded="true"
, it maintains the same style as when it is closed with aria-expanded="false"
?
Here is an example of how the dropdown menu looks when opened (check menu 2.3).
https://i.sstatic.net/BmoxM.png
And here is the appearance I desire for the dropdown menu when it is closed (check menu 2.3).
https://i.sstatic.net/p4lYX.png
I want the dropdown menu to retain the exact same style whether it's open or closed.
Below are the CSS codes I've been using:
[CSS CODES HERE]
If anyone knows how to address these two issues, I would greatly appreciate your help.