Accordion Widget
What is the Accordion widget?
The Accordion widget allows you to display text in a collapsed, condensed manner, saving space while presenting abundant content. Visitors can see condensed titles and selectively expand items for more detailed information.
How to add an Accordion widget
You need to create a new section, choose a grid layout and click adding a new element. By adding a new element, you will see a popup including all the widgets available.
Simply choose the Accordion wi from the Widget panel, and then it'll be added to the layout section where you want to add the widget.
The Accordion widget consists of 4 main settings tabs:
General Settings
Design Settings
Responsive Settings
Menu Assignment
I. Accordion - General Settings
Widget Styles
Here you can choose a style for the accordion widget between Default and Flush.
Accordion Style: Choose a style for the accordion.
Collapse style: Choose a collapse style
Always open: Enable this option if you want accordion items to be always open.
Color: set the default color, hover color, and active color.
Background color: Set the background color of the accordion.
II. Design Settings
Element Visibility: Choose to set the element to be visible on "Current and all linked pages", or on "Current menu items only".
Animation: Choose an animation for the widget.
Max Width: Set the Max Width for the widget.
Text Alignment: Set the alignment of the text of the widget.
Background Type: Select the background type for the widget from None, Color, Image, Video or even add a Gradient.
Custom Color: Choose whether you want to enable or disable the custom colors for the widget. If you enable it then you have the option to set Text Color, Link Color & Link Hover Color of the element’s content.
Spacing
Add margin and padding values over the row to improve its appearance on different devices.
III. Responsive Settings
Device Visibility: Choose your preference for hiding or showing the section on different screens like:
Hide on Extra Small Devices: Enable to hide the widget on mobile phones.
Hide on Small Devices: Enable to hide the widget on tablets.
Hide on Medium Devices: Enable to hide the widget on laptops.
Hide on Large Devices: Enable to hide the widget on desktops.
Hide on Extra Large Devices: Enable to hide the widget on extra-large screens.
IV. Widget's Menu Assignment
Since Astroid framework 3.0.12, the menu assignment feature has been introduced, which is applied to widgets available in Astroid's widget library.
You can choose between On all pages, No pages, Only on the pages selected from the List.
On all pages: the widget will be visible on all pages of your website
No pages: the widget will be invisible on all pages
Only on the pages selected: "Menu Selection" will show with all the menu items on. You can assign the widget by selecting the menu links that you want the widget associated with on what pages the widget appears.
Last updated