Hello,
Is it possible to define or limit the width of the main navigation entries?
I want to force a line break between the 2 words of a 2-word navigation item.
Thank you!
Ole
Hey DocDigital,
Could you please give us a link to your website, we need more context to be able to help you.
Could you please attach some screenshots of the issue?
Best regards,
Victoria
Hi Victoria,
i need to have a line break between onewheel and school in menu (but <br> doesn’t work!)
Therefore i thought of fixing the width of menu item… possible?
URL + PW below.
Thanks!
Ole
Hi,
Thanks for the link to the page, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
#menu-item-814 > a,#menu-item-804 > a,#menu-item-898 > a {
width: 110px;
line-height: 28px !important;
text-align: center;
padding-top: 30px !important;
}
After applying the css, Please clear your browser cache and check.
Expected results
Best regards,
Mike
That worked like a charm, Mike! THANK YOU
The only thing that needs to be fixed is the height of the sticky menu: as soon as i scroll down the sticky menu minimizes, so that the words “SCHOOL” etc. are dislocated.
Can you add a code that fixes sticky menu height?
Thanks.
Ole
THANKs A LOT, Victoria!