Accordion | SP Page Builder (Pro) 4.x - Documentation | JoomShaper

SP Page Builder (Pro) 4.x

Updated Last: 22 November 2022

Accordion

An Accordion is a vertically stacked list of headers that can be clicked to reveal or hide content associated with them. 

How to Add an Accordion Block?

You can add an accordion addon to your page from the SP Page Builder sidebar. Simply drag the addon from the Addons panel and drop it on the section of the page where you want to add an accordion.

Accordion Settings

When you click on the Accordion addon, the addon inline editor will open up. You can access the addon settings and customize the accordion to fit your needs. 

Accordion

SP Page Builder 4.0

Add Accordion Items: Click on the “+ ADD” button to add a new accordion item. Once you add an accordion item, you will see the options to edit, duplicate, or delete the accordion item.

Click on the edit icon and this will take you to the following interface. 

SP Page Builder 4.0

Accordion Item Title: Use this field to give your accordion item a title. 

Icon: You can also add an icon beside the accordion item title. Click on the Choose Icon button to select your desired icon. 

Style: SP Page Builder accordion comes with different kinds of accordion styles. This accordion style field lets you choose your desired style from the drop-down list of styles.

  • Modern 
  • Default
  • Primary
  • Success
  • Info 
  • Warning
  • Danger
  • FAQ
  • Custom

Open Item: There are few options for how the items will be displayed. If you select “open first item” then the first item will be opened and all others will be closed. The option “open all items” makes all the items open and the option “close all items” will make all the items closed.

Border Radius: Border radius is for the corner of the border to be rounded or straight. Use the slider to up and down the number to set the Border Radius.

Spacing: Use the slider to add spacing between the accordion items. 

Item Margin & Padding: Set the margin and padding to the accordion items. Use the slider to up and down the number to adjust it according to your requirements.

Header

SP Page Builder 4.0

Padding: Add padding to the top, right, bottom, and left of the accordion title.

Icon Position: Set your title icon to be displayed right or left.

Icon Size: Set the size of the icon using this option. Use the slider to up and down the number to adjust it according to your requirements.

Icon Margin: Add margin to the top, right, bottom, and left of the accordion title.

Icon Rotation: You can rotate the icon up to 360 degrees here. Use the slider to up and down the number or type the number in the input field to rotate the icon according to your requirements. 

Add Accordion Item Content 

By default, the accordion item content is a text block. For content, you have the option to add other addons. 

To do that, delete the text block and then add your desired addon as the accordion item content. 

Title

SP Page Builder 4.0

Use this tab to add a title to the section you just added with the accordion addon.

Color Settings 

Accordion

SP Page Builder 4.0

Background Color: Set the background color of the accordion. 

Border Width: Set the width of the accordion’s four borders.

Border Color: Set the color of the accordion’s four borders. 

Header

SP Page Builder 4.0

Text Color: Set the color of the accordion title. 

Background Color: Set the background color of the accordion title. 

Icon Color: Set the color of the accordion title icon.