Skip Navigation

[Resolved] Is it possible to make the complete heading of an accordeon clickable?

This thread is resolved. Here is a description of the problem and solution.

Problem:

Make the complete heading clickable of a accordion in a layout template

Solution:

There isn't such a built-in feature within Toolset Layouts plugin, by default, the According cell of Layouts plugin need to click on the panel title

Relevant Documentation:

https://toolset.com/documentation/user-guides/accordion-cell/

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by a.e.a.m.S 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1210193
accordeon-toolset.jpg

I am trying to: make the complete heading clickable of a accordeon in a layout template

Link to a page where the issue can be seen: hidden link

I expected to see: i would like to see that the green accordeon on the left opens when cliccking anywhere on the green headings, not only on the link and + sign, is that possible? maybe with javascript?

Instead, I got: opens only when clicking on the name or + sign

#1210393

Hello,

There isn't such a built-in feature within Toolset Layouts plugin, by default, the According cell of Layouts plugin need to click on the panel title, see our document:
https://toolset.com/documentation/user-guides/accordion-cell/

But you can follow jQuery UI document to setup your own Accordion element with custom HTML codes, see this document:
hidden link

There is a Accordion demo, it works as you mentioned above:
the Accordion opens when clicking anywhere on the headings

For your reference.

#1243678

Hi Luo Yang,

I solved it with an accordeon from here: hidden link

Thanks!