Tagged: Accordion, responsiveness
Hi – I came across this thread, which seems not to have been resolved.
I’d like to create collapsible content areas on http://www.calmyoga.fr, in which I have a password-protected area with an already long list created in ALB. Because I already have Avia Layout Builder content on the page, I’m worried about shortcode conflicts.
We want to add about the same amount of content again, plus a video library. Can you please give me some guidance – I know it probably makes sense to make separate pages, but we’d prefer to keep the site as mobile-friendly as possible.
many thanks
Simon
Hey Simon,
Here are a couple of articles for adding a toggle elements to your page, mostly you will wrap the content you want to hide in a DIV and then add the javascript to your page. Please look these over and let us know if you have any questions.
https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp
https://www.w3schools.com/howto/howto_js_accordion.asp
https://alligator.io/css/collapsible/
Best regards,
Mike