Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1008672
    ljuan_80
    Participant

    Hi
    I’m using the Xtheme demo footer menu on my website. However, I can’t get the menu items to be centred in the footer space. They are slightly skewed to the left. Please see screen shot.

    Thank you very much in advance for any help you are able to provide

    #1008712
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    ul#ubermenu-nav-main-76-footer {
        display: table;
        margin: 0 auto;
    }

    Hope it helps.

    #1008843
    ljuan_80
    Participant

    Hi
    Thanks very much for the quick response. Unfortunately, the code didn’t make any difference to the position of the menu ítems.
    What else could I try?

    Thanks again!

    #1008900
    Paul R
    Moderator

    Hi,

    You can try this code instead.

    
    .x-colophon.bottom .x-nav {
        text-align:center;
    }
    
    .x-colophon.bottom .x-nav li {
        vertical-align: top;
        display: inline-block;
        float:none;
    }
    

    If that doesn’t help, please provide us your site url so we can take a closer look.

    Thanks

    #1009145
    ljuan_80
    Participant
    This reply has been marked as private.
    #1009290
    Thai
    Moderator

    Hi There,

    Please add the following CSS instead:

    .x-colophon.bottom .ubermenu-skin-white {
        background-color: transparent;
        text-align: center;
        border: none;
    }
    .x-colophon.bottom .ubermenu-skin-white ul li {
        float: none !important;
        display: inline-block;
    }
    .x-colophon.bottom .ubermenu-skin-white ul li a {
        color: #fff;
    }

    Hope it helps 🙂

    #1009641
    ljuan_80
    Participant

    I’m afraid it’s still not changing anything! I am putting it in the right place, aren’t I: Customize -> Custom -> CSS

    #1009957
    Friech
    Moderator

    Hi There,

    Yes, that is the right place. The custom css given above works, you just miss the closing bracket of this media query block.

    @media (max-width: 767px){
    .x-recent-posts a.x-recent-post4 {
        width: 48%;
        float: left;
        margin-right: 4%;
    }

    Please add the missing closing bracket.

    Thanks.

    #1010544
    ljuan_80
    Participant

    Hi
    I really appreciate all the help, but the code doesn’t seem to change anything. I have copied and pasted the code given in reply #1009290 including the closing bracket, but it doens’t make any difference.

    #1010555
    Friech
    Moderator

    Hi There,

    I did check the site again and still the @media (max-width: 767px) block miss the closing bracket. It should be

    @media (max-width: 767px){
    .x-recent-posts a.x-recent-post4 {
        width: 48%;
        float: left;
        margin-right: 4%;
    }
    }

    And please clear your caching plugin and your browser’s cache.

    Hope it helps, Cheers!

    #1016721
    ljuan_80
    Participant

    That worked.
    Thanks very much for all the help!

    #1016735
    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else please let us know.

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