Archived topic
Avoid line break / wrap in menu
5 replies · Started by stesch79 on October 1, 2015
I have the plugin "Menu Icons" installed. On some sub menu entries with long text (e.g. > 17 characters), there is a line break / wrap between the icon and the menu text. Therfore the icon appears on the first line, the text on the second line. How can I avoid this?
Can you link me to a page where it's happening?
I can provide you a test page: http://wptest.sciurus.ch/
There you can see the same behaviour.
This css should fix it for your current menu items. If you add longer menu items you can increase the width:
.main-navigation ul ul {
width: 240px;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Perfect, it works! Thanks bdbrown!
You're welcome :)
