Home › Forums › WoodMart support forum › Trigger Popup on Link Click
Trigger Popup on Link Click
- This topic has 5 replies, 2 voices, and was last updated 5 years, 11 months ago by
Elise Noromit.
-
AuthorPosts
-
January 2, 2020 at 5:59 pm #165987
laneo2016ParticipantHow do you make a popup trigger from a button or link click?
January 2, 2020 at 11:34 pm #166011
Elise NoromitMemberHello,
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
January 3, 2020 at 9:45 am #166072
laneo2016ParticipantOk, 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.January 3, 2020 at 10:04 am #166081
Elise NoromitMemberHello,
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
January 3, 2020 at 10:18 am #166082
laneo2016ParticipantAh 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.January 3, 2020 at 12:13 pm #166097
Elise NoromitMemberHello,
Find the HTM block, enter the popup element into the Button Tab, change the text and configure the link view.
Best Regards
-
AuthorPosts
Tagged: popup
- You must be logged in to create new topics. Login / Register
