How To Set An Auto-Adjusting Divi Menu Dropdown Width

 

 

oder in Kurzform:

/*Divi Dropdown-Menü automatisch verbreitern*/
@media only screen and (min-width: 981px) {
.nav li ul {
width: fit-content;
display: flex;
flex-direction: column;
}
.nav li li {
white-space: nowrap;
}
.nav li li a {
width: auto !important;
}
}