Home Forums WoodMart support forum Trigger Popup on Link Click

Trigger Popup on Link Click

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #165987

    laneo2016
    Participant

    How do you make a popup trigger from a button or link click?

    #166011

    Hello,

    There are two ways: to add a class to a menu item, you will find the instructions here: https://xtemos.com/docs/woodmart/create-menu-2/ and by means of a Pop element depending on what place do you want to set the button. https://xtemos.com/docs/woodmart/shortcodes-2/ here is the demo: https://woodmart.xtemos.com/button-with-popup/

    Best Regards

    #166072

    laneo2016
    Participant

    Ok, so I’ve created an HTML Block that is a Pop-up, when i add this to the menu it doesn’t trigger the popup. Any ideas?

    The link that’s created in the menu features the anchor of ?cms_block=newsletter-popup.

    I’ve attached a couple of images.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #166081

    Hello,

    If you want to add the popup element by means of HTML block do not add it to the menu. You should add it by means of HTML block WPBakery Builder https://xtemos.com/docs/woodmart/html-blocks-2/#header_builder

    Best Regards

    #166082

    laneo2016
    Participant

    Ah ok, that seems to be working now, however, the html block that I add using the header builder shows the title as ‘Go’ and I don’t know how to add custom text. Also, It’s adding button css styles, whereas I just want it to be the menu-item classes (so it looks the same as the other menu items at the top.
    I’ve added some more images for you.

    Thanks for your help.

    Attachments:
    You must be logged in to view attached files.
    #166097

    Hello,

    Find the HTM block, enter the popup element into the Button Tab, change the text and configure the link view.

    Best Regards

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)