Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1250811
    sosmond
    Participant

    I have styled a smaller menu to fit on smaller screen resolutions like landscape Ipad.
    http://jeffdillon.involve.media/portfolio/

    using font size and letter spacing but I also would like to reduce the navbar top link spacing. Can you help me with that please.

    @media (min-width:979px) and (max-width:1120px) {
    .x-navbar-static-active .x-navbar .x-nav > li > a, .x-navbar-fixed-top-active .x-navbar .x-nav > li > a {
    font-size: 1.3vw!important;
      letter-spacing: 1px;
    }
    }
    #1251144
    Rupok
    Member

    Hi there,

    There is no topbar on your given site. Would you clarify a bit that what you are trying to achieve?

    Cheers!

    #1251832
    sosmond
    Participant

    Hi, I was not referring to the topbar rather the navbar. I would like to adjust the “navbar top link spacing” in layout (screenshot) but only for mobile as I did with letter-spacing in my code sample.

    #1251998
    Joao
    Moderator

    Hi There,

    You can use margin-top: 0px; inside the same code.

    Hope that helps

    Joao

    #1252060
    sosmond
    Participant

    I tried margin-top: 0px; and it did nothing. I want to reduce the space between menu items like in customizer navbar top link spacing.

    #1252363
    Jade
    Moderator

    Hi there,

    Please try this:

    @media (min-width: 767px) and (max-width: 1080) {
        .x-navbar .desktop .x-nav > li > a {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    Hope this helps.

    #1252705
    sosmond
    Participant

    Thank you, I changed the widths a little but the padding is what I needed.

    #1252804
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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