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!,OverviewHow To Use The ElementElement OptionsGlobal Options,How To Use The Comments ElementWhen 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.
767,650 Businesses Trust Avada
Get Avada767,650 Businesses Trust Avada
Get Avada767,650 Businesses Trust Avada
Get Avada,Element OptionsLocation: 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.
Comment Avatar – Make a section for user comment avatar.
Show Headings – Choose to show or hide headings
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 ScreenDesignTab
HTML Heading Size – Choose the size of the HTML heading that should be used, h1-h6.
Heading Color – Controls the heading color.
Comment Separator Border Size – Controls the border size of the separators. In pixels.
Comment Separator Border Color – Controls the border color of the separators. Leave empty for default value.
Comment Indent – Set left padding for child comments. In pixels.
Link Color – Controls the link color. Leave empty for default value.Link Hover Color – Controls the link hover color. Leave empty for default value.Text Color – Controls the text color. Leave empty for default value.Meta Color – Controls the meta color. Leave empty for default value.
Margin – In pixels or percentage, ex: 10px or 10%.
View The Options ScreenExtras 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 ScreenGlobal OptionsLayout Elements do not have any Global Options.