Home › Forums › WoodMart support forum › How to open a pop-up from a Header Menu ?
How to open a pop-up from a Header Menu ?
- This topic has 6 replies, 3 voices, and was last updated 1 year, 11 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 25, 2023 at 3:31 pm #437754
Jeriss Cloud CenterParticipantDear,
In my page, I have some buttons like below :
“Découvrir la carte”
“Réserver une table”
“Commander une livraison”Those buttons are intended to open a pop-up with a specific form, and that works fine inside the body.
However, in the Header, I want to add links that open those pop-ups. But I’m not able to do that.
I tried creating HTML block but when I add those HTML Block in the header, it redirects the user to the HTML Block page => I don’t want that.
I want to open those header links as a Pop-Up. How can I do that?
Thanks
- This topic was modified 1 year, 11 months ago by Jeriss Cloud Center.
Attachments:
You must be logged in to view attached files.January 26, 2023 at 10:44 am #437927
Aizaz Imtiaz AwanKeymasterHello,
Actually, the Popup on button under the Theme shows with the usage of the theme element “Popup” but that element isn’t available to add it under the Theme which is why the change that you are trying to achieve here wouldn’t be possible because the element isn’t available to add under the Header Builder.
It requires Customization and this is beyond our limitations and support policy scope. Hope you can understand our limitations.
Best Regards.
January 26, 2023 at 11:57 am #437961
Jeriss Cloud CenterParticipantSo there is no way at all to open a pop-up from a Header ?
January 26, 2023 at 4:44 pm #438049
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, to open a Popup from a Header wouldn’t be possible but on any other page you can use the Theme’s Popup element to achieve that.
Best Regards
February 17, 2023 at 9:38 pm #444100
maltgeorgeParticipantYou can accomplish this if you have Elementor Pro (you could also use a plugin specifically for popups)
Here is how to do it with Elementor Pro:
Go to Elementor > Templates > Popups > Add new
Build your popup.
Go to popup settings (in the builder, the bar at the bottom with the update button, settings option is on the left > Advanced Tab > Advanced > Open by selector
Now add this to create a link to your popup a [href=”#my-popup”] (obviously change the #ID to what you want.
Now set the display conditions for your popup to entire site, you probably won’t want to set any triggers.
Save
Now exit and go to Appearance > Menus
Select your menu and add a custom link
In the URL field add the #my-popup (or whatever you set)
Save menu.
Now go try it out, the popup should open when you click the link in the header menu.
February 18, 2023 at 1:12 am #444145
Jeriss Cloud CenterParticipantThanks for your reply! I’ll try that!
February 18, 2023 at 11:42 am #444236
Aizaz Imtiaz AwanKeymasterHello,
@maltgeorge:
Thanks for sharing your suggestions with other Customers. Appreciate that 👍@Jeriss Cloud Center:
You can try the solution provided by maltgeorge, if it could be of some help to you.Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register