Just need to add one class “center-block”. It has these properties

.center-block {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

It will align anything to center 🙂 .

Advertisements