Hi,
I want to have a subtile with a Top Header menu.
I tried the CSS below (find here : https://kriesi.at/support/topic/word-wrap-in-menu-or-have-the-menu-on-two-lines/#post-283385)
Menu item : ÉTHIQUE<span class=”menu-break”>notre vision</span>
Quick CSS :
span.menu-break {
display: block;
line-height: 0;
bottom: 25px;
position: relative;
}
It is OK, except when the menu becomes small (when we go to the bottom of the screen), and also with the mobile menu (the second line goes on top of the first line)
I tried
span.menu-break {
position: inherit !important;
}
but it is not better…
Thanks
Hey ppi37!
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
Rikard
Hi!
Perhaps some CSS like this would help?
.header-scrolled .menu-break {
bottom: 7px !important;
font-size: 11px !important;
}
There is not much space there to play around with.
Regards,
Elliott
Hi Elliott,
Thanks, it’s OK now with desktop screen.
Only the mobile menu still not good.
Thanks
Hi!
Please add following code to Quick CSS as well
#mobile-advanced .menu-break {
bottom: -4px !important;
}
Best regards,
Yigit
Hi Yigit,
It seems perfect!
Thanks a lot