Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-20 18:19:25
- lucas
- New Member
- Registered: 2007-03-20
- Posts: 1
problem with class of section_list
Hi,
I was looking at this page:
http://textbook.textpattern.net/wiki/index.php?title=Txp:section_list_/
and particularly:
class = “class name” (CSS class attribute, default is section_list )
but to me it doesn’t work, the names in the list of the sections don’t acquire the attributes from the class of the css.
This works well instead:
active_class = “class name” (Name of to CSS class which is applied to the list item indicating the “active” the. and. current section. Default is unset. [4.0.4] )
Does you perhaps treat of a bug or something of known? or mistake me anything?
thank
Offline
#2 2007-03-20 21:56:34
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: problem with class of section_list
The class is appended to the ul, not to the li.
Offline
#3 2007-03-20 23:22:40
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: problem with class of section_list
To elaborate on what Els said: it is applied to whatever you’ve defined as the wraptag.
Offline
Pages: 1