Hi!
I have used the custome HTML-widget to create a toggle-type menu for the sidebar. I would like to change the toggle that is open to depend on what page you are on.
So, lets say you are on “page 1”, then “toggle 1” is open. Are you on “page 2”, then the next toggle (“toggle 2”) is open, and so on.
Would this be possible?
Thanks in advance!
Best regards,
Susanne
Hey Telmore,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
Hi,
So you would need a combination of css and js to accomplish this. You essentially need to pass in the page id and then js to pass the active class to the slider container. While this is possible it goes beyond the scope of support here in the forums, but a freelancer should be able to accomplish this.
Best regards,
Jordan Shannon
Hi,
You can use JS to ensure that the page stays at the top when it loads. See this for example:
https://stackoverflow.com/questions/3659072/how-to-disable-anchor-jump-when-loading-a-page
Best regards,
Jordan Shannon
Hi,
Thanks for the link! I will look into it :)
Best regards,
Susanne
Hi,
Okay great! Happy to help!
Best regards,
Jordan Shannon