Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-12 17:24:37
- msteinruck
- Member
- Registered: 2004-07-14
- Posts: 44
Linklist and LI class
I’m trying to generate submenus using the txp:linklist tab. I want to be able to add a class to the LI that each link is wrapped in so that I can apply a style to it. I’ve wracked my brain for a tricky way to do this, but I’m at a loss. Can anyone help?
Here’s an example of what I want to generate:
<code>
<ul>
<li class=“something”><a href=”/mylink”></li>
<li class=“something”><a href=”/mylink”></li>
</ul>
</code>
Offline
#2 2006-01-13 13:18:59
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: Linklist and LI class
Maybe I’m misunderstanding what you’re looking to do- but the txp:linklist tag allows the class attribute so you’d just set it up in your CSS and apply it when you’re calling the linklist tag. Or was this not what you’re talking about?
Offline
Pages: 1