Example CSS JS#

When using the Single-line comment form, you'll be presented with a unstyled list of comments and commenting form - not ideal. This is however intentional, as we don't believe we should force any style or functionality on your use of Comments.

However, we've provided some sample CSS (opens new window) and minimal JS (opens new window) to get started with.

The HTML code generated by the Single-line comment form tag is based largely on Bootstrap, and is easily stylable through the many classes provided. Have a look at comments.html (opens new window) for the templating code used.

If you wish to customise this form, consult the Template Overrides section.

Full examples#

To get you started, we've provided two fully functional, styled examples: - Non-Ajax (opens new window) - Ajax (opens new window)

Previous ← Requirements Next Comment Element →