Responsive submenu
-
Hello,
My main menu submenu at the top of the page is quite long, I changed the length and width of the container to the css code so that it fits and is harmonious, which worked. But on mobile, the submenu does not fit in the page. Do you have a code to try to make this responsive?Thanks for your help !
Here is the code of my submenu:
.main-navigation .main-nav ul ul li a { box-sizing: content-box; width: 195%; padding-right:20px;padding :20px 20px; } .sub-menu, .sub-menu > li:last-child > a { box-sizing: content-box; width: 100%; padding-right:230px; }
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Responsive submenu’ is closed to new replies.