Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

'first' and 'last' class in navigatiion list

Go to End

3 Posts   2585 Views


Community Member, 28 Posts

2 March 2011 at 11:41pm

I am creating a navigation list but I want classes applied to the first and last items in the list ('first' and 'last' will do) as they will be styled slightly differently.

Is there an easy way to do that?


Forum Moderator, 1899 Posts

3 March 2011 at 1:02am

These are all page controls...


(for more info...


Community Member, 28 Posts

3 March 2011 at 1:19am

Ahh.... missed those completely. Thanks!!