CSS classes: Comments widget

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

CSS class name Class set to Default HTML tag
sfcommentsTitle Title of comments list and comments form.  <h2> 
sfcommentsList Wrapper of comments list. <ol>
sfcommentDetails Wrapper of single comment.  <li>
sfcommentOfTheAuthor Wrapper of single comment, if the comment is submitted by the author of the article.  <li>
sfcommentNumber  Wrapper of consequent comment’s number. <span>
sfcommentAuthor Wrapper of comment’s author. <strong>
sfcommentDate Wrapper of comment’s date. <em>
sfcommentText Wrapper of comment’s content. <div>
sfcommentsFormWrp Outer wrapper of submit comment form. <div>
sfNeutral  Comment has to be approved message. <p>
sfcommentsForm Wrapper of submit comment form. <fieldset>
sfcommentsFieldsList Wrapper of list of fields of Add comment form. <ol>
sfcommentsField Wrapper of single form field. <li>
sfcommentEditor Wrapper of comment text field. <li>
sfEditorWrp Wrapper of Rad Editor used for comment text input. <div>
sfTxtLbl Label of comment meta info like name, email, website. <label>
sfFieldWrp Wrapper of comment text input of name, email and website. <div>
sfTxt Comment text input of name, email, and website. <input>
sfNote Wrapper of form label (for example, which fields are optional). <em>
sfError Wrapper of field error shown, if the input is empty or does not meet the requirements. <di>
sfcommentCaptcha Wrapper of CAPTCHA. <li>
sfcommentsSubmitBtnWrp Wrapper of submit comment button. <div>
sfcommentsSubmitBtn Submit comment button. <input>

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

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. 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?