News list display settings: skipping the most recently published article
Hi all.
In order to change the style of the first news item, I've separated a news list in to two. However, this means that the most recently published article displays twice. Is there a means of starting at the second most recently published article (without tagging or categorising), for the second part of the list?
Or, is there an entirely more elegant solution to modifying the style of the first item only?
Thanks,
Scott
This news list creates a UL. Using CSS you should use:
.sfnewsList li:first-child
font-weight
:
bold
;
Thanks Jonathan, great idea. For some reason I was thinking we were still in 2007 and first-child wasn't widely supported by the browsers!
No worries! Good Luck!
Hi Jonathan,
Thank you for helping and sharing solutions.
Regards,
Stefani Tacheva
Telerik