Comments Element

03/08/2021

As part of Avada Layouts, we created a series of Dynamic Elements that help generate content in the Content Layout Section of a Layout. These are called Layout Elements. In this document, we look at the Comments Element.

IMPORTANT NOTE: The Layout Elements are only available when editing Content Layout Sections in Avada Layouts.
View The Element Demo Page!

Overview

How To Use The Comments Element

When you go to add an Element in a Content Layout Section, the Element dialog opens in a new tab called Layout Elements. This is where you will find the Comments Element. This is a simple Element, which allows you to place the comment section anywhere in a Content Layout Section in any Layout. This would most commonly be used in a Single Post layout.

The Comments Element includes any comments made, and the Leave A Comment section, allowing people to make a comment. It will not display if comments are not allowed for that post or page.

The Comments Element can be placed anywhere in your Layout, and will dynamically pull the Comments area into the page, based on the Conditions set in the Layout. You can also use the full range of Design Elements when building your Layout.

See below for an example of the Comments Element on a post on the Fitness Demo. Follow this link for a live example.

Example of the Comments Element
Avada Website Builder

715,550 Businesses Trust Avada

Get Avada
Avada Website Builder

715,550 Businesses Trust Avada

Get Avada
Avada Website Builder

715,550 Businesses Trust Avada

Get Avada

Element Options

Location: The edit screen within each Element.

You can deploy as many individual Elements in pages and posts as you need, there is no limit. Within each of the Elements you will see a tab or tabs that house an array of options that make it possible for you to configure each Element independently, and greatly enhance your flexibility and creative options.

Note: The displayed option screens below show ALL the available options for the element. If you have Avada’s Option Network Dependencies turned on, you will only see options relevant to your selections, and so the options screen may look somewhat different.

General Tab

  • Comments Template Order – Set if comments or comments form should be displayed first.

  • Show Headings – Choose to show or hide headings

  • HTML Heading Size –  Choose the size of the HTML heading that should be used, h1-h6.

  • Comment Separator Border Size – Controls the border size of the separators. In pixels. Default currently set to 1. Reset to default.Using default value.

  • Comment Separator Border Color – Controls the border color of the separators. Leave empty for default value of rgba(40,45,51,0.1). Reset to default.Using default value.

  • Comment Indent – Set left padding for child comments. In pixels.

  • Comment Avatar – Make a section for user comment avatar.

  • Margin – In pixels or percentage, ex: 10px or 10%.

  • Element Visibility – Allows you to control the Element’s visibility. Choose one or more between Small Screen, Medium Screen, or Large Screen.

  • CSS Class – Allows you to add a class for the Element.

  • CSS ID – Allows you to add an ID for the Element.

View The Options Screen

Extras Tab

  • Animation Type – Controls the column’s animation type. Choose between None, Bounce, Fade, Flash, Rubberband, Shake, Slide, Zoom, Flip Vertically, Flip Horizontally, or Light Speed.

  • Direction of Animation – Controls the direction of animation on the Element. Choose between Top, Right, Bottom, Left, or Static.

  • Speed of Animation – Controls the speed of animation on the Element. Choose between 0.1 to 1.

  • Offset of Animation – Controls when the animation will start. Choose between Default, Top of element hits bottom of viewport, Top of element hits middle of viewport, or Bottom of element enters viewport.

View The Options Screen

Global Options

Layout Elements do not have any Global Options.

Avada Website Builder

715,550 Businesses Trust Avada

Get Avada
Avada Website Builder

715,550 Businesses Trust Avada

Get Avada
Avada Website Builder

715,550 Businesses Trust Avada

Get Avada