header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Adding an accordion element
  • Adding and managing accordion items
  • Choosing how the accordion opens and closes
  • Designing an accordion
  • Adjusting the accordion layout

Studio Editor: Adding and Customizing an Accordion

In this article
  • Adding an accordion element
  • Adding and managing accordion items
  • Choosing how the accordion opens and closes
  • Designing an accordion
  • Adjusting the accordion layout
Use the accordion element to show a large amount of content in a small space. By allowing visitors to expand and collapse items, they can easily find the information they need without having to scroll through a long list.
A GIF showing an example of the Accordion element in an Editor X site

Adding an accordion element

Select an accordion design you like to get started. You can personalize each item in your accordion to show your client's content. Add the elements you need and organize them however you want inside the container. 

To add an accordion element:

  1. Click Add Elements  on the left side of the editor.
  2. Click Layout Tools.
  3. Click Accordions.
  4. Drag an accordion you like onto your page. 
  5. Edit the content of the accordion items:
    1. Select the accordion element you just added.
    2. Click Manage Items.
    3. Click the item you want to edit.
      Tip: This opens the item on the canvas so you can see what it currently shows.
    4. Add the relevant elements and information to your item.
The available Accordion designs in the Add Elements panel in the Studio Editor

Adding and managing accordion items

Manage the items that appear in your accordion element. You can add more items for your client's content, give them new titles and change their order of appearance.

To add and manage accordion items:

  1. Select the accordion element.
  2. Click Manage Items.
  3. Hover over the item and click the More Actions icon .
  4. Choose what to do with this accordion item: Duplicate, Rename or Delete.
Tips:
  • Click Add Item at the bottom of the panel to add a new blank item.
  • You can change the order of your items. Hold the Reorder icon  next to an item and drag it to the desired location.
A screenshot of the Manage Accordion panel where you can add, rename, duplicate, delete and reorder items

Choosing how the accordion opens and closes

Decide how your accordion looks when visitors load the page. You can have all items open so the information is easily accessible, or closed for a more minimal look. You can also choose whether or not visitors can open multiple items at the same time.  

To choose how the accordion opens and closes:

  1. Select the accordion element.
  2. Click the Settings icon .
  3. Select an option under Choose the default state:
    • All items closed: Visitors first see the accordion items closed. They choose which item to expand to read more.
    • First item opened: Visitors see the content of the top item while the other items are closed.
    • All items opened: Visitors see the content of all items when the page loads. 
  4. Click the Allow multiple open items toggle:
    • Enabled: Visitors can have as many open items as they like in the accordion. 
    • Disabled: Visitors can only open one item at a time.
  5. (Optional) Apply a transition effect that appears when visitors click an item to open it.
Note:
The option to allow multiple items open in the accordion is not available if you choose All items opened as the default state.
A screenshot of the Accordion Settings panel, where you can set how it opens and closes

Designing an accordion

You can design every part of the accordion so it matches the rest of your page. Customize the item titles, the containers that show the content of each item, or the entire space of an item (title and container included).

To design an accordion:

  1. Select the accordion element.
  2. Click the Open Inspector icon  at the top right of the editor.
A screenshot of opening the Inspector panel in the Studio Editor.
  1. Choose what you want to design from the drop-down:
    • Titles: These are the titles of your items. You can design the titles to look different when visitors hover over them. 
    • Containers: These are the containers that show the content of each item.
    • Accordion items: This controls the entire space of an accordion item (title and container included).
  2. Use the available options to pick different backgrounds, fonts, corners, borders and more.
A screenshot of the Inspector, where you can design the Accordion element

Adjusting the accordion layout

Adjust the layout of the accordion element to your needs. You can choose the alignment, padding and position of your item titles, as well as the icon that appears next to each title.
Tip:
You can apply a CSS grid to every individual item to create your pixel perfect layout.

To adjust the accordion layout:

  1. Select the accordion element.
  2. Click the Layout icon .
  3. Adjust the layout of the accordion element:
    • Choose an icon: Select the icon that appears next to your item titles: Arrow or Plus
    • Icon position: Decide if the icon appears to the left or right of your titles. 
    • Space between items: Drag the slider to make the space between items smaller or bigger.
    • Title padding: Drag the sliders to add horizontal and vertical padding around the item titles. 
    • Formatting: Choose the direction and alignment of the accordion items.
The Accordion Layout panel is open. The cursor is dragging the horizontal padding slider.

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.