• Resolved andylockhart

    (@andylockhart)


    Hi

    I am wanting to build an FAQ page with the accordion block and want to be able to link from product pages to the particular FAQ related to that product. Is there way to do it?

    With DIVi you could assign a CSS ID then use that as part of the URL, I don’t see that here??

    Any help is welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter andylockhart

    (@andylockhart)

    Any suggestions?

    Plugin Contributor gambitph

    (@gambitph)

    Hi Andy,

    In the current version (V 2.1.0), you can now add other blocks inside the Accordion (in the Accordion’s content).

    To be able to add a link from your products pages to a particular Accordion block, you can add a native block called HTML inside your Accordion block, then add a code like this:

    <a name="YOUR_CLASS_ID" id="YOUR_CLASS_ID"></a>
    

    This code will create an HTML bookmark that allows the users to jump to a specific part of a web page.

    After adding an HTML bookmark in your Accordion block, you can now add a link in your products page pointing to the HTML bookmark that you’ve added in your Accordion block. You can use a link like this to be able to jump to the Accordion block: yourwebsite.com/#YOUR_CLASS_ID

    Just don’t forget to change the YOUR_CLASS_ID to your own class ID (you can add different class IDs for each HTML bookmark that you’ll create) and add your own website to the link.

    Let me know how it goes!

    • This reply was modified 5 years, 1 month ago by gambitph.
    Plugin Contributor gambitph

    (@gambitph)

    Resolving this, please re-open id needed. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Linking to one element of accordion block’ is closed to new replies.