Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1413772
    finger123
    Participant

    I am trying to align just my menu items to the left instead of default which is centered. Leaving my logo the way it is. The codes that i find on the KB articles does not seem to pertain to what i am trying to do.

    #1413777
    finger123
    Participant
    This reply has been marked as private.
    #1413915
    Thai
    Moderator

    Hi There,

    Please try adding the following CSS:

    .x-navbar .desktop .x-nav > li > a,
    .x-navbar .desktop .x-nav > li > a > span {
        padding-left: 0;
        padding-right: 0;
    }
    .x-navbar .desktop .x-nav > li > a > span {
        padding-left: 10px;
    }

    Hope it helps 🙂

    #1413960
    finger123
    Participant

    hi. the code didnt do anything that i could notice.

    #1414075
    Jade
    Moderator

    Hi there,

    Please try this code instead:

    .x-navbar .desktop .x-nav > li > a,
    .x-navbar .desktop .x-nav > li > a > span {
        text-align: right;
    }

    Hope this helps.

    #1414077
    finger123
    Participant

    Hi

    That didnt make a change either. Didnt work.

    #1414694
    Friech
    Moderator

    Hi There,

    Add this custom CSS instead.

    @media (min-width: 980px) {
    	.x-navbar .desktop .x-nav > li > a {
    	padding-left: 0;
        text-align: left;
    }
    }

    Make sure to clear your browser’s cache before previewing the page.

    Thanks.

    #1415014
    finger123
    Participant

    This code worked great! Thanks again!

    #1415120
    Rahul
    Moderator

    Glad it worked for you.

    If you have any further queries regarding the theme, feel free to ask us. We’d be happy to assist you with anything.

    Thanks for choosing the X-theme. 🙂

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