Our monthly Virtual Happy Hour is happening this week, Fri Feb 23!

Try our conversational search powered by Generative AI!

Newslist and different styles

Vote:
 
Hi, I just wonder if there is a way to have diffrent css classes on different NewsTemplates in a NewsList? I know about the First, SecondTemplate and so on. But I need it on every third or so. Anyone have any suggestion?? /Magnus
#13032
May 08, 2007 11:06
Vote:
 
You can make you own list or add a counter in the newslist / pagelist and have some logic which displays the right css-class. If it's every third item = use a counter, if it's more logic = make your own list. Download the SDK and see the PageList source code in this folder : SDK\SDK460\source\EPiServer\WebControls /Øyvind
#15281
May 25, 2007 13:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.