Close accordion on mobile

Hi Themeco,

I found this old topic of what I want with the new accordion element. Have it closed on mobile and open on deskrop view.

I know that a possibility is to duplicate the accordion and hide it on different screen sizes. But because I want to have it on multiple pages with different items this would be a lot of work to edit in the future. Have only one accordion item on the page adaptieve to the screen size would be a better fix.

Is this possible? Thank you.

Hello Tim,

Yes, you can have only one Accordion item. If you want to style the different attributes on a different screen, you can use Responsive Element Styling. Please check out this documentation:

Hope this helps.

Thx for your message.

The option to have the accordion start open or closed hasn’t a responsive control.

Is there a way to code this? Thanks

Hi Tim,

There is no such way to code that, but it is a good option to have. I will check with our development team and if possible will add it as a feature request.

Thanks

Thank you, that would be a great option indeed. Hope you can add that to the accordion.

Hi Tim,

We will surely check out those options.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.