Main Menu resizing issue when browser width is made smaller... menu items go onto 2nd line

Hi there, I see other websites allow a browser width to change, i.e. get smaller, without the menu items dropping onto a second line (this makes drop down menu items unclickable) which is a problem.

How do I make the main menu resize accordingly as a browser width changes, without there being any issue of menu items dropping to a 2nd line below and so on. If other websites can do this then surely betheme / Wordpress can do this too? Please advise.


Thank you.

Comments

  • Hello,

    This is normal behavior, if the menu items does not fit, they will drop to the another line - the only way to fix that is decrease the menu items number by inserting them to dropdown menu or by decreasing the font size for menu items in Theme Options -> Fonts -> Size & Style.

    Thanks

  • Hello, Thanks for replying. However, I must disagree, as I see many other websites do not have this issue at all even with many main menu items.... the main menu resizes accordingly (text becomes smaller ) until it reaches breaking point and is then Moble menu size or tablet menu size for example.


    I would like to know how other websites have achieved this please? Surely there is CSS or some code or something I can add that resizes the menu item text to decrease as a browser is made smaller.

    Not all screens are the same size for example. If you'd like an example of what I am referring to, please visit https://www.vegaschool.com/ and resize your browser window slowly and see how their website menu does not creep onto a 2nd line it resizes accordingly so there are no issues with tabs or overlapping or drop down menus not being clickable.

  • The menu on the website you sent, changes to hamburger menu on the stage, when your menu is still 'desktop' menu.

    Also, this menu is made on flexbox technology (it's a new css rule, display:flex), but our theme is not prepared (we still use display:block) for having the flexbox for menu yet.

    The New Header Builder (which is in development) will be made on flexbox, it will be more flexible, like on the website you sent.

    For now, what I can suggest (including tips from previous reply) is increasing the "Menu breakpoint" to change to mobile menu 'quicker', its in the Theme Options -> Responsive -> Header


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.