Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #887223

    Hi,

    Is it possible for an Enfold Theme Button to launch a Javasctipt pop up Light box?

    Use Case – to click an Enfold Button and have an external OPT IN form load in a light box?

    THanks in advance
    CBurgo

    #887292

    Hey CBurgo,

    Yes it’s possible but you have to do some modifications, there’s not much options in the Enfold buttons but you can just copy it’s raw html code and use a Code Block so you can add some attributes on the button like onclick.

    Best regards,
    Nikko

    #887593
    This reply has been marked as private.
    #887697

    Hi CBurgo,

    It would look like this:

    <a href="#" class="avia-button avia-color-blue" onclick="popUp()">Click Me</button>

    However it depends on the optin you are using. Let us know if this helps.

    Best regards,
    Nikko

    #887711
    This reply has been marked as private.
    #887716
    This reply has been marked as private.
    #888141

    Hi,

    The best option is to create a shortcode with your link and load that shortcode.
    Any other solution aint that good.

    Best regards,
    Basilis

    #888229

    Hi Basilis,

    Thanks for your reply,

    does this method mean I’d have to be using a child theme?

    Thanks in advance
    CBurgo

    #889091

    Hi,

    Well, you can either use a shortcode or add the code as a plugin.
    What ever switch you the best :)

    Best regards,
    Basilis

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.