Advanced Accordion Block
You can create an Advanced Accordion block when you need to display a lot of content in a small area. Your site visitors will be able to click on accordion bars that slide out to reveal content.
How to create the Advanced Accordion block
You can create an Advanced Accordion block by clicking the Advanced Accordion button in the Advanced Gutenberg category. When you first create this block, you will see 2 accordion elements that display by default.
Settings for the Advanced Accordion block
Once created, you can adjust the header, body or border options from the right sidebar.
- Accordion Settings:
- Bottom spacing: Define the space between each accordion (this will only show on the frontend).
- Initial Collapsed: Make all accordions collapsed by default.
- Header Settings
- Header Icon Style
- Color Settings: Background Color, Text Color and Icon Color
Border settings for the Advanced Accordion block
The Advanced Accordion block also allows you to customize the borders of the accordion areas:
- Body Color Settings
- Background Color
- Text Color
- Border Settings
- Border Style: solid, dashed or dotted
- Color Settings
- Border width, radius
Default settings for all your Advanced Accordion blocks
You can set default options for every Advanced Accordion block added to your site. This is possible with the Default Blocks Config feature and it allows you to create a consistent look-and-feel for all your accordions.
- Go to Adv. Gutenberg in your WordPress admin menu.
- Click Configuration, then Default Blocks Config.
- Click Advanced Accordion.