Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1410443
    pdopchev
    Participant

    Hi guys,

    Just noticed that the menu and the logo get misplaced when you resize the browser window to a certain size. Is there a way to avoid that?

    Thank you!

    link: http://www.enjoycrestedbutte.com/

    #1410760
    Friech
    Moderator

    Hi There,

    Thank you for writing in! You can add this under Custom > CSS in the Customizer.

    @media (min-width: 980px) and (max-width: 1124px) {
    	.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
    	padding-left: 13px;
        padding-right: 13px;
    	}
    }

    Hope it helps, Cheers!

    #1411283
    pdopchev
    Participant

    Hi, thank you so much for the help! The code does fix the issue at a certain browser size but while testing it I did noticed that the “anomaly” happens two more times at two different sizes – please see screen grabs – browser window sizes are show there.

    #1411850
    Christopher
    Moderator

    Hey there,

    Thanks for writing in! 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:

    • Logo Size – longer logos will conflict with navigation items as you size your site down. If you are noticing a conflict, you may need to implement some CSS to size down your logo as viewports get smaller.
    • 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.

    Thanks!

    #1412462
    pdopchev
    Participant

    That totally makes sense! Thank you so much for the info!

    #1412730
    Thai
    Moderator

    If you need anything else please let us know.

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