Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Sub Menu with two Columns

Home Forums Older releases 0.9.x Sub Menu with two Columns

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1295
    pakaymc
    Participant

    Is is possible to have one or more sub menus display in two columns vs. one long column?

    #1456
    admin
    Keymaster

    Yep, you could use some additional CSS to float the items and set them fixed width (the LIs) and also set a fixed width for the sub menu (the UL) – e.g. something like this:

    	#main-menu ul.columns-2 {
    		width:500px !important;
    		max-width:none !important;
    	}
    	#main-menu ul.columns-2 > li {
    		float:left;
    		width:250px !important;
    	}

    and then you just need to set the class to the sub menu you like:

    <ul class="columns-2"> ...

    By tweaking the widths, you can get as many columns as you like.

    #1457
    pakaymc
    Participant

    Thank you for your help. This works great and is exactly what I needed.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.