Hello,
I am trying to center align the text on the mobile menu which appears after clicking the Hamburger icon, to no avail so far.
I’ve searched the forums and found this:
/* center align text mobile menu */
@media (max-width: 768px) {
#mobile-header,
#mobile-header ul ul {
text-align: center !important;
}
.menu-item-has-children .dropdown-menu-toggle,
nav ul ul .menu-item-has-children .dropdown-menu-toggle {
float: none !important;
}
}
I also tried it with site-navigation instead of mobile-header. The text continues sticking to the left. (btw, I have navigation search enabled).