Make submenu levels open to the left
-
Hi there,
I would really appreciate it if you could tell me how to make the submenu levels open to the left instead of right.
Also, how do I make the submenus absolutely center below the main menu items?
This is the code I currently have added in the theme’s (virtue) custom css box:
.sf-menu > ul li { text-align: center; } .sf-menu li:hover ul, .sf-menu li.sfHover ul, .sf-menu ul { right:0; left:auto; } .sf-menu ul li a { font-size: 1.5em !important; color: #006EAE !important; text-align: right !important; } .sf-menu ul li a:hover { color: #FD8204 !important; } .home-iconmenu a { background: #006EAE; } .captiontitle, .captiontext { background: #006EAE; } .flex-caption { color: #ffffff; } .sf-menu > ul li { text-align: center; }
Thank you:)
- The topic ‘Make submenu levels open to the left’ is closed to new replies.