[Resolved] aligning the navigation center in the footer bar

Home Forums Support [Resolved] aligning the navigation center in the footer bar

Home Forums Support aligning the navigation center in the footer bar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #585034
    Jai

    I’ve been trying multiple different css codes to get the navigation (that was placed in the footer bar) to align center with no success. I also tried assigning a class to the navigation in the footer bar and the codes still did not work.

    Your help with this problem would be appreciated.

    Thank You

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #585175
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like it’s in the center already. The problem is that the container is not wide enough to handle all the menu items so some of them are in the next line.

    Let me know if I’m missing something 🙂

    #585186
    Jai

    I adjusted the padding to give it the appearance of being centered. But the navigation is still left aligned.

    #585385
    Jai

    I got it to work finally…

    #menu-footer-menu {
    text-align: center;
    }
    #menu-footer-menu ul {
    text-align: center;
    }
    #menu-footer-menu li {
    display: inline-block;
    float: none;
    }
    #menu-footer-menu li li {
    display: block;
    text-align: left;
    padding-right: 5px;
    }

    #585420
    Leo
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.