Astroid Framework
HomeDownloadReport an IssueVideo Tutorials
English
English
  • What is Astroid
  • Get Started
    • Introduction
    • Technical Requirements
    • Installation
    • Layout Manager for Dummies
    • Creating a basic Astroid Template
  • Astroid Pro
    • Using the License Key
    • Dynamic Content
  • Basic Settings
    • Preloader
    • Favicon
    • Back to Top
    • Wide Vs Box Layout
    • Smooth Scroll
    • Color Mode
    • Container Background Mode
    • Bootstrap Settings
  • Header
    • Header
      • Transparent Header
      • Site Menu Method
    • Logo Options
    • Sticky Header
    • Off-Canvas menu
      • Customize the Offcanvas icons
    • Animation
  • Color
    • Body Color
    • Header Color
    • Sticky Header Color
    • Main Menu Color
    • Dropdown Menu Color
    • Off-Canvas Colors
  • Layout Settings
    • Section Settings
    • Row Settings
    • Element Settings
    • Column Settings
    • Layout Configuration on devices
    • Sub Layouts
  • Astroid Widgets
    • Divider Widget
    • Navigation Widget
    • Icons Widget
    • Button Widget
    • Heading Widget
    • Text Widget
    • Image Widget
    • Slideshow Widget
    • Image Group Widget
    • Testimonials Widget
    • Articles Widget
    • Accordion Widget
    • Grid Widget
    • Form Builder Widget
    • Map Widget
    • List Widget
    • Video Widget
    • Video Button Widget
    • Image Carousel
    • Countdown
    • Raw HTML Widget
    • Module Position
  • Astroid Widgets Pro
    • CodePen Widget
    • Hover Motion Gallery
    • Article Listing
    • Listing Pro
    • Count Down widget
  • Image Motion Cursor
  • Typography
    • Body Typography
    • Menu Typography
    • H1-H6 Typography
    • Drop Down Menu Typography
    • Custom Typography
    • How to use local font
  • Article Blog
    • Article Layout Builder
    • Article Listing Options
    • Single Article Options
    • Blog Options for Single Article view
    • Blog Options for Articles List View
    • Open Graph
    • Custom type comment for Blogs/Articles
  • Social Profile
    • Social Profile
  • Custom Code
    • Tracking Code
    • Before </head>
    • Before </body>
    • Custom Css
    • Custom JS
  • Miscellaneous
    • Lazy Load Images
    • Coming Soon
    • Error Page
    • Copyright
    • Contact Information
    • Minify JS/CSS/HTML
  • Theming
    • Theming
  • Menu Item Settings
    • Blog Options
    • Banner Options
    • Open Graph Options
    • How to manage the Blog Options for Articles List View
  • Mega Menu
    • Mega Menu
  • MORE
    • Preset Profiles
    • Astroid Layout Module
    • Astroid Captcha
  • Developers
    • Get Started
    • Build or Override a Widget
Powered by GitBook

© Astroid Framework 2025.

On this page
  • What is the Accordion widget?
  • How to add an Accordion widget
  • I. Accordion - General Settings
  • Widget Styles
  • II. Design Settings
  • Spacing
  • Custom css
  • III. Responsive Settings
  • IV. Widget's Menu Assignment

Was this helpful?

Export as PDF
  1. Astroid Widgets

Accordion Widget

PreviousArticles WidgetNextGrid Widget

Last updated 6 months ago

Was this helpful?

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 widget 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.

Custom css

Here in the design settings, you can also add custom CSS to customize the design of the element.

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.

Accordion
Select the widget on the panel.
Click on Add item to create a new accordion item.
Edit the accordion's content.
Widget style
Design setting
Spacing options
Element's custom css.
Configure responsive settings
Menu assignment
Assign the widget to specific pages