(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Get Elementor Pro Today –
1 –Â Elementor Pro
Don’t want to make from scratch? Buy the template instead 🙂
Introduction – Horizontal Accordion with CSS, JS in Elementor
In this tutorial, we will create a horizontal accordion that opens on click. It is fully responsive and turns into vertical accordion in table and mobile devices.Â
Code for Horizontal Accordion
- dm-column-title is the CSS class of the title in the Accordion. collapsed is the second CSS class given to the titles that are present in closed accordion.
- dm-column-tab is the CSS class of each accordion columns container. active is the second CSS class given to only the opened accordion.
- dm-column-inner-tab is the CSS class given to the inner contents container in each accordion. active is the second CSS class given only to the opened accordion’s inner container.



This doesn’t work in Elementor v4, do you have an update that will fix that?
Hello, as long as you use older widgets that were made for v3. It will work. Right now v4 is too new to update it for v4.
The code will not work with new containers as they have different architecture.