Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2007-06-01 07:42:21

ABDC
Member
From: the Netherlands
Registered: 2006-08-14
Posts: 17
Website

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

#3 2007-06-01 09:01:55

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

Board footer

Powered by FluxBB