Link to open accordion element

charlotte.stenum-berg
2 Posts
charlotte.stenum-berg posted this 06 October 2022
Ask a Question

Hello,

I have a page with an accordion where I want all tabs to be closed by default if the page is opened e.g. from the menu. But I also want to add links to the contents of specific accordion tabs, i.e. when you access the page through the link, that specific accordion tab is open to show the contents, while the remaining tabs are closed.

I am aware you can only link to blocks, not elements such as accordion tabs or their contents. So I tried to put each accordion tab in its own block so that I can link to the tab by using a block anchor. But still I can either tick the box for the accordion tab to "open by default" meaning that when the page is accessed from the menu, the tab is also open, or I can untick the box, and my link will go to a closed accordion tab and might as well be linking to the page itself.

Can I somehow tweak the block anchor link to make the tab "open by default", or tweak the tab to "open by default" only when accessing through a link directly to the block and not to the page? If not, I would like to wish for a functionality to solve this issue.

Cheers,
Charlotte

Hello, I have a page with an accordion where I want all tabs to be closed by default if the page is opened e.g. from the menu. But I also want to add links to the contents of specific accordion tabs, i.e. when you access the page through the link, that specific accordion tab is open to show the contents, while the remaining tabs are closed. I am aware you can only link to blocks, not elements such as accordion tabs or their contents. So I tried to put each accordion tab in its own block so that I can link to the tab by using a block anchor. But still I can either tick the box for the accordion tab to "open by default" meaning that when the page is accessed from the menu, the tab is also open, or I can untick the box, and my link will go to a closed accordion tab and might as well be linking to the page itself. Can I somehow tweak the block anchor link to make the tab "open by default", or tweak the tab to "open by default" only when accessing through a link directly to the block and not to the page? If not, I would like to wish for a functionality to solve this issue. Cheers, Charlotte
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 06 October 2022

Hi, Charlotte,

Unfortunately, it is not possible to do that. You can make links only to blocks, not elements. Anyway, we have added this feature to our wishlist.

Let us know if you need our further help!
...................................................
Sincerely,
Paul C.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Charlotte, Unfortunately, it is not possible to do that. You can make links only to blocks, not elements. Anyway, we have added this feature to our wishlist. Let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments