How Can We Help?

Search for answers or browse our knowledge base.

< All Topics
Print

Increase the width of submenu container in header

When text in the submenu is longer, then to increase the width of the submenu container please add the following CSS in Divi Theme Option

.dfh-122 .nav li li ul {
    left: 220px !important;
}
.dfh-122 .et-menu .menu-item-has-children>a:first-child:after {
    right: 5px;
}
.dft-122.et_pb_menu .et-menu-nav li ul.sub-menu {
    width: 220px !important;
}
.dfh-122 .et-menu li li a {
    width: 220px !important;
}

Note: Replace the header number in the CSS with your header number.