Comments
The Comments element displays post comments and comment form. It offers two display modes: custom styling with full control over appearance, or default WordPress styling.
Settings
Section titled “Settings”Source
Section titled “Source”- Source (select) - Choose comment display mode. Options: Bricks (custom styling), WordPress (WordPress default styling). Default: Bricks.
Custom styling controls
Section titled “Custom styling controls”When Source is set to “Bricks”, the following controls are available for customizing the comment display and form:
-
Show title (checkbox) - Display comments section title. Default: true.
-
HTML tag (select) - HTML tag for title. Options: div, h1-h6. Default: h3. Only available when Show title is enabled.
-
Typography (typography) - Title typography. Controls
fontproperty for.comments-titleselector. Only available when Show title is enabled.
Avatar
Section titled “Avatar”-
Show avatar (checkbox) - Display commenter avatars. Default: true.
-
Size (number with units) - Avatar dimensions. Default: 60px. Triggers re-render.
-
Border (border) - Avatar border settings. Controls
borderproperty for.avatarselector. -
Box shadow (box-shadow) - Avatar shadow settings. Controls
box-shadowproperty for.avatarselector.
Comment
Section titled “Comment”-
Author: HTML tag (select) - HTML tag for commenter names. Options: div, h1-h6. Default: h5. Triggers re-render.
-
Author: Typography (typography) - Commenter name typography. Controls
fontproperty for.comment-author .fnselector. -
Meta: Typography (typography) - Comment meta typography. Controls
fontproperty for.comment-metaselector. -
Content: Typography (typography) - Comment content typography. Controls
fontproperty for.comment-contentselector.
Form title
Section titled “Form title”-
Show (checkbox) - Display comment form title. Default: true.
-
HTML tag (select) - HTML tag for form title. Options: div, h1-h6. Default: h4. Triggers re-render. Only available when Show is enabled.
-
Text (text) - Form title text. Default placeholder: “Leave your comment”. Only available when Show is enabled.
-
Show (checkbox) - Display form field labels. Default: true.
-
Typography (typography) - Label typography. Controls
fontproperty forlabelselector. Only available when Show is enabled. -
Placeholder typography (typography) - Placeholder text typography. Controls
fontproperty for::placeholderselector. Only available when Show is enabled.
Cookie consent
Section titled “Cookie consent”-
Show (checkbox) - Display cookie consent checkbox.
-
Required (checkbox) - Make cookie consent required. Only available when Show is enabled.
-
Text (text) - Cookie consent text. Only available when Show is enabled.
Fields
Section titled “Fields”- Fields (select, multiple) - Form fields to display. Options: Name, Email, Website. Default: Name, Email, Website.
Field styling
Section titled “Field styling”-
Background color (color) - Form field background color. Controls
background-colorproperty for.form-group inputand.form-group textareaselectors. -
Border (border) - Form field border settings. Controls
borderproperty for.form-group inputand.form-group textareaselectors. -
Typography (typography) - Form field typography. Controls
fontproperty for.form-group inputand.form-group textareaselectors. -
Textarea: Resize (select) - Textarea resize behavior. Options: None, Vertical, Horizontal, Both. Default: Vertical. Controls
resizeproperty for.form-group textareaselector.
Submit button
Section titled “Submit button”-
Text (text) - Submit button text. Default placeholder: “Submit Comment”. Supports dynamic data.
-
Size (select) - Button size. Options from button sizes control options. Default placeholder: “Default”.
-
Style (select) - Button style. Options from styles control options. Default: primary.
-
Background (color) - Button background color. Controls
background-colorproperty for.bricks-buttonselector. -
Border (border) - Button border settings. Controls
borderproperty for.bricks-buttonselector. -
Typography (typography) - Button typography. Controls
fontproperty for.bricks-buttonselector.
WordPress default styling
Section titled “WordPress default styling”When Source is set to “WordPress”, the element uses your theme’s default comment styling and form layout. No additional styling controls are available - WordPress handles all comment display through the standard comments_template() function.
Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.