Site logo

Archived topic

Footer menu centered but not on top of each other

3 replies · Started by Matthias on September 25, 2018

Viewing posts 1–4 of 4

Hi i tried some coding and I cant get my footer menu centered without going on top of eachother. I want the structure I have now but centered. Is this possible without using left padding for example

Hi there,

Modify this CSS:

.footer-widgets .widget_nav_menu li {
    text-align: center;
    float: left;
    margin-right: 30px;
    margin-left: 0px;
}

to this:

.footer-widgets .widget_nav_menu li {
    margin-right: 30px;
    margin-left: 0px;
    display: inline;
}

Then center with this:

.footer-widgets {
    text-align: center;
}

thx !

No problem :)

This archived topic is closed to new replies.