CSS classes: News widget

Following is the list of CSS classes applied to News widget:

CSS class name Class set to  Default HTML tag 
sfnewsList Wrapper of all News list modes — Titles only, Titles and dates, Titles, dates and summaries and Titles, dates and full content. <ul>
sfnewsListTitlesOnly Wrapper of Titles only mode of News list. <ul>
sfnewsListTitleDate Wrapper of Titles and dates mode of News list. <ul>
sfnewsListTitleDateSummary Wrapper of Titles, dates and summaries mode of News list. <ul>
sfnewsListTitleDateContent Wrapper of Titles, dates and full content mode of News list. <ul>
sfnewsListItem Single news wrapper. <li>
sfnewsTitle Single news title. <h1> in details mode and <h2> in list mode
sfnewsMetaInfo Wrapper of news publication date and link to news comments. <div>
sfnewsCommentsCount Link, which leads to comments list or form, if there are no comments. <a>
sfnewsSummary News summary wrapper. <div>
sfnewsFullStory Link, which leads to news details. <a>
sfnewsAuthorAndDate Author and publication date wrapper. <div>
sfnewsContent News content wrapper. <div>
sfnewsDetails Wrapper of single news details. <div>
sfnewsLinksWrp Go back link wrapper. <div>

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?