How To Center The Categories In The Top Menu?

how do you center align the top menu category text? v4.2.3

you can do that with css




margin-left: auto ;
margin-right: auto ;

Hope this help for you.


hello, do you know what CSS class control the positioning?


that depends on what theme you have and use.

This is a center from the basic theme.

Is this what you mean?

ul.dropdown-multicolumns {
position: relative;
float: left;
margin-top: 5px;
margin-right: 5px;
border: none;
text-align: center;
padding: 0;

attached is what I am referring to in responsive template. Thanks!


Try to change the padding in the dropdown multicolumns.

So you can change the number till its fit in the center.

I dont use resonsive theme, but i think its the same css code.

ul.dropdown-multicolumns {

padding: 0px 0px 0px 50px;

Can be share this code where in file?

Path and file name pls

There is the CSS section in the Theme editor

Clip2Net — screen capture tool for Windows, Android, iPad, Mac, Linux

Please use it to add custom CSS rules