Keep accordion in sidebar open when clicked

[ad_1]

Hello,

I’d like to know if it’s possible to leave an accordion block on the right sidebar, open after clicking a sub-item, which opens a page on the left side. See this page:
https://pijnmc.nl/waar-is-mijn-pijn/

When you click on HOOFD > MIGRAINE, a new page opens on the left, but the sidebar collapses after loading. I don’t want to set this as non-collapsed, because the list will get too long.

So is there a way to (coding?) to leave the accordion open after clicking a sub-item?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer