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.

Themes /

Discuss SilverStripe Themes.

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

Section/Current CSS menue styles


Go to End
Reply


1890 Views

Avatar
Willr

Forum Moderator, 5521 Posts

18 January 2010 at 9:16am

$LinkOrSection will return 'link' for a general page or 'section' if you're on the current page or a child page. If you could adapt your css to use those class names that would be the best way.

<a href="$Link" class="$LinkOrSection">...