Site logo

Archived topic

Accordion opens in next-door container

1 reply · Started by troyw on May 25, 2021

Viewing posts 1–2 of 2

Hey team,
I am using the Gutenberg Accordion Blocks plugin and have placed them individually, within side by side grid containers.
If I click the Accordion Header, the accordion opens as it should, however it is also opening the container next to it. Can't understand why one container is effecting the container next to it?

Thanks

Hi there,

This isn't something the theme controls as this is something added by a third-party plugin. It's out of our scope of support, unfortunately. I recommend asking the plugin developer the best way to fix this.

But as an attempt to help out:

The script that controls how the accordion toggles most likely is set to a class rather than a unique ID.

These 2 accordions probably share the same class, that's likely why the same script affects both of them.

I'm not sure which script specifically is involved as the script used is aggregated on a cached script file but the plugin developer/support should be able to point it out quickly. :)

This archived topic is closed to new replies.