Open pop up when click in a button

On my homepage I have a link on the cover image that says "sign-up" . I would like it to open the same pop-up opened by the "Login/Register" link in the header.

https://databoy.space/

  • Nahid Ferdous Mohit

    Hi Mwale !
    Hope you are having a great day!

    Well, I can see the page is using Visual Composer to show the cover image and the buttons. If you have direct access to edit the HTML of the 'Create an Account' button, can you change the 'href' to '//databoy.space/wp-login.php' and add a CLASS to it named 'has-modal' ? So the HTML code for the button will look like the following:

    <a id="cta-button-register" href="//databoy.space/wp-login.php" class="has-modal">Create an Account</a>

    Instead of

    <a id="cta-button-register" href="//databoy.space/register/">Create an Account</a>

    Hope this helps. Thanks!

    Best,
    Nahid.