Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-03-02 19:35:38

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

"Split" Category list in order to form two columns?

Is there a way I could split my category list into two different unordered lists in order to have a two column navigation?

I’ve found a few plugins that are dead in the water. I’m sure there’s a way I could do this with DOM manipulation and some fancy CSS work, but it’d be a lot easier if I could just output two different lists.

Any ideas?


Caps lock is cruise control for cool. —Unknown

Offline

#2 2010-03-02 21:40:03

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: "Split" Category list in order to form two columns?

category_list will take variety of attributes and it can be nested or used repetitively to accomplish a great many things.

split my category list into two different unordered lists

use two different sets of tags, or nest them.

category_list

Offline

#3 2010-03-02 22:18:11

surfwax95
Member
Registered: 2008-04-04
Posts: 38
Website

Re: "Split" Category list in order to form two columns?

Thanks for the tip.

I ended up simply using a bit of CSS to get two equal width columns:

ul.cat_list {width:200px;}

ul.cat_list li {width:100px; float:left;}


Caps lock is cruise control for cool. —Unknown

Offline

Board footer

Powered by FluxBB