Dropdown menu not working after Wordpress upgrade

My website uses a menu with a dropdown (see https://portfolio.nouxy.nl).
Previously that dropdown worked, but after upgrading Wordpress to 6.1.1 it stopped working.

Any ideas how to solve this?

Hi there

Please add this css code in the Appearance > Customize > Additionall CSS:

@media (min-width: 1024px){
ul.nav li.dropdown:hover > ul.dropdown-menu, ul.nav li.dropdown:focus-within > ul.dropdown-menu {
    display: block !important;
}
}

Regards

Thanks for your reply.

It seems I use below css to get a static header for the website.

.site-header {
	position: fixed;
    top: 0;
    overflow: hidden;
    width: 100%;
    z-index: 99;
}

The overflow caused the issue with the menu.
Removing it solved the issue.

Hi there

Ah, that’s right, thanks for sharing the solution :slight_smile:

Regards