How to split WordPress Submenu in 2 Column

How to split wordpress submenu in 2 or more column

Hello reader, if you are interested to use dropdown with multi column in wordpress for submenu then you can do it using CSS. Very few steps will make it easier for you to use multi column submenu in WordPress. If you are using WordPress theme then you can use plugin like Jquery Multi menu,Flexi Menu WordPress Plugin and easily create stylish submenu with multiple column. The main issues comes when we try to use custom theme then how it is possible to create multi column submenu in wordpress. Here , we are introducing simple steps using css for creation of multiple column in submenu of wordpress nav menu. Let see the steps :
1) First of all access your wordpress admin >>Appearance>>Menus and select the menu which you want to edit.
2) Type the sub-menu-column in wordpress menu css classes which is optional .If you are not getting css classes option then go to top and click on screen option and check CSS checkbox then type your CSS classes(optional) for menu.

sub menu css class in wordpress
sub menu css class in wordpress – PHP Cluster

3) Now save Menu. Now wordpress will assign sub-menu class to ul of wp nav menu.
4) Now put the below CSS code into your stylesheet for styling submenu and customize as per your requirement.

.sub-menu-columns ul.dropdown-menu li {
    display: inline-block;
    float: left;
    width: 200px;
}
.sub-menu-columns ul.dropdown-menu li:nth-child(odd) {
    float: left;
    margin-right: 10px;
}
.sub-menu-columns ul.dropdown-menu li:nth-child(even) {
    float: right;
}

5) See the result of 2 column sub menu in wordpress. Customize it as you want.

menu in columns wordpress
Menu in columns WordPress – PHP Cluster