Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #987473
    danny
    Participant

    Hey there,
    my page titles and blog posts seem to be cropped when viewing on safrai in certain widths or on iPad..

    Can you help?

    Danny

    http://www.curiousmind.co

    #987529
    Lely
    Moderator

    Hello Danny,

    It happens because there’s not enough space to display your Main menu and your logo on one ROW. So since you’ve added this custom CSS:

    .masthead-inline .desktop .x-nav {
        display: block;
        float: right;
    }

    It made your main menu an entire block so the whole menu goes down instead.
    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.

    Other option is also to decrease menu spacing on this screen size. Add the following code on Appearance > Customize > Custom > Edit Global CSS:

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

    Hope this helps.

    #988466
    danny
    Participant

    I’ve not added in

    .masthead-inline .desktop .x-nav {
    display: block;
    float: right;
    }

    but i did try adding
    @media (min-width: 981px) and (max-width: 1110px){
    .x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
    padding-left: 7px;
    padding-right: 7px;
    }
    }

    and didn’t seem to make any difference?

    #988964
    Rad
    Moderator

    Hi there,

    Please change that CSS to this,

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

    Thanks!

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