Tagged: menu
Hi,
I use enfold with demo voyage
I have an horizontal menu.
How can I have the menu entries to be displayed on two lines.
In other words, instead of having:
Our new services | Our nice staff
I would like to have
Our new | Our nice
Services | Staff
I want to have to have this to avoid dispplaying the whole menu on two lines
Thanks for your answers
Hi sung789,
Please try to add this CSS code in Quick CSS, located in Enfold > General Styling:
#avia-menu .menu-item {
max-width: 140px;
}
#avia-menu .menu-item > a {
height: auto;
line-height: 1.3;
padding: 13px;
}
just adjust the max-width value.
Also, I noticed that there are too many menu items, you can just make a dropdown or use a mega-menu since with CSS alone it would be hard to make a good looking menu with many menu items, also limit the number of text in each menu item.
Best regards,
Nikko
Thanks for the code.
I have just inserted.
There is a lot of space between the two line when the menu entry is divided
Hi sung789,
I have fixed the code, the greater than sign has been changed to (without spaces)
& g t ;
I would really suggest grouping some of the menu items into dropdowns or mega menus.
Best regards,
Nikko