Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-06-01 01:27:08
- samuelnyc
- New Member
- Registered: 2007-06-01
- Posts: 2
CSS class for active list item for recent article (or article list)
Hello,
Does anyone know of a way to add a CSS class for an active list item for recent articles? You can do this for global items such as section list, or category list, but not for individual articles. Here is the code I am using:
<txp:recent_articles break=“li” label=“Recent Articles” section=“recent-projects” sort=“Posted asc” wraptag=“ul” />
I am a rather new user, so perhaps there’s a better way of adding an active class for an article list? Any help is much appreciated.
Sincerely,
SAm
Offline
Re: CSS class for active list item for recent article (or article list)
I use glx_hl_current on Duke & Jacobs for highlighting the current article in a menu list; maybe that’ll do the trick?
Offline
Re: CSS class for active list item for recent article (or article list)
have a look at this thread…
Offline
#4 2007-06-01 12:35:46
- samuelnyc
- New Member
- Registered: 2007-06-01
- Posts: 2
Re: CSS class for active list item for recent article (or article list)
Thank you both! I installed the glx plugin and it’s working perfectly.
Offline