I'm encountering an issue with a specific page on my website ()
The problem lies with a .dropdown class that is supposed to display a DIV right below the header. In the source code, you can find it underneath <-- START DROPDOWN MENU -->. When I set it to display:block, everything works as expected.
My goal is to make sure that when a user hovers over the "PRODUCTGROEPEN" menu item, the div becomes visible.
<li><a class="menuItem" href="#">PRODUCTGROEPEN</a></li>
Here is the CSS related to the issue:
body > header > div.container.dropdownmenu > div {
display: none;}
.menuItem:hover + body > header > div.container.dropdownmenu > div {
display: block;
I can't seem to figure out why this isn't working properly. Any insights would be greatly appreciated.
Thank you in advance!
Update: Dropdown structure
<div style="position:relative;" class="container dropdownmenu">
<div class="dropdown">
<div class="container">
<div class="row">
<div class="col-sm-3">
<h1 style="font-family:DINMedium;font-size:14pt;border-bottom: 5px solid #96785e;display:inline-block;margin-top:10px;">INDUSTRIEEL<br> </h1>
<ul class="dropdownul">
<li><a href="#">Antistatische gripzakken</a></li>
[...]