center menu items

Hi I'm using djmega menu and I would like to center in the container the top-level menu items, in the module there is not this option and having it set in custom mode also by css if I try to force the thing I do not get results:

margin: 0 auto;
display: table;
table-layout: fixed;
The template works in bootstrap 3

How can I solve?


  • Hello,

    please try to add the following CSS to your template. It should work with custom and default theme. {
    text-align: center;
    }, li, li span {
    float: none;
    display: inline-block;
    text-align: left;
  • Thanks is perfect!
Sign In or Register to comment.