Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1272763
    powrider686
    Participant

    Hello,
    On my site henryebarr.com and when you view it on a browser window that isn’t quite full screen it shows the menu on two lines.

    How can I make it so that under the desktop size, it switches to a mobile view and mobile menu, without displacing the menu to the second line?

    #1272776
    Lely
    Moderator

    Hi There,

    Thank you for the screenshot.
    This particular situation is simply a matter of reworking your content to properly fit the physical limitations presented by the theme (this is a consideration that must be taken into account with all themes and designs). It is the same principal applied to filling up a room with furniture—there is only so much that can fit into a given space. The following should be considered in these situations:

    • Shorter Names – you should always shoot to have your top-level navigation links be as simple as possible. For example, if your link is “Learn About My Company,” Try using “About” instead. It conveys the same idea and will save you a ton of real estate.
    • Rearrange – sometimes we want to put all of our links in the top-level navigation, but not all pages are created equally. Pages of lesser importance that pertain to a parent link might work well as a sub-menu instead.
    • Less Links – even on more “complex” websites with lots of pages, there are always ways to combine information together to make things simpler, which also ensures that your user doesn’t have to click around for every granular piece of information. For example, you might have two top-level links called “About” and “Contact,” which could possibly be combined into one. This eliminates the need for extra links and makes things much simpler for your users to navigate. Less is more in information architecture.
    • Appearance – fortunately X features plenty of options for adjusting the appearance of elements throughout your site, and the navbar is one of the more flexible elements. Try using a smaller font size if possible to save on a little real estate.

    Other option is to reduce the spacing between menu links by adding the following CSS on Appearance > Customize > Custom > Edit Global CSS:

    .ubermenu-responsive-toggle {
        padding: 15px 8px;
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1272763 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>