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)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?