Home › Forums › WoodMart support forum › How to create a pop up message by hitting an icon on Header menu
How to create a pop up message by hitting an icon on Header menu
- This topic has 10 replies, 2 voices, and was last updated 3 years, 6 months ago by Elise Noromit.
-
AuthorPosts
-
May 21, 2021 at 6:39 pm #294489
nikosdimitriouParticipantOn very top right, I have placed a little icon (a leaf).
How to initiate a pop up message when people hit this icon?
ThanksAttachments:
You must be logged in to view attached files.May 21, 2021 at 6:53 pm #294494
nikosdimitriouParticipantForgot to mention that the icon is an html block.
ThanksMay 21, 2021 at 10:43 pm #294532
Elise NoromitMemberHello,
Please sign the class to the icon
woodmart-open-newsletter
And configure the Popup in the Theme Settings > Shop > Promo popup.Alternatively, you can add the popup element in the HTML block and set the button as an icon.
Best Regards
May 22, 2021 at 4:25 am #294563
nikosdimitriouParticipantCan you please elaborate on the both ideas?
I need the icon to appear exactly as the screenshot aligned to the SM icons and the pop up message to appear after clicking on it.
The promo pop up has different settings. it only opens when you scroll or when the user opens first time the website.
Thanks a lot
I have attached the login details so you can have a look.
May 23, 2021 at 9:33 am #294767
Elise NoromitMemberHello,
You can create a popup in two ways:
1. Enable and configure the popup in the Theme Settings > Shop page > Popup.
2. Check
seed front page
, enter the icons, and check how I added the class.Another way is to add the popup instead of the icon you have and configure: https://gyazo.com/93ef8bc469897b5453f3c65c8ef6d5dd
The difference is that the first popup would appear automatically when the user comes to the site for the first time, and the second way is called on click only.
Best Regards
May 23, 2021 at 1:07 pm #294788
nikosdimitriouParticipantThanks a lot for your reply.
I am looking for the second option “the second way is called on click only.”I do as you said but something breaks the site and does not load at all.
I create a new html block which I configure as pop up on elementor. I also set the jpeg I want to pop up. Finally I select this html block on header builder.
please shed some light.
thanks
May 23, 2021 at 1:20 pm #294789
nikosdimitriouParticipantAlso, I need to make it transparent, so it looks native like the SM icons.
Can you help please??
Thanks
May 23, 2021 at 3:13 pm #294810
nikosdimitriouParticipantI managed to make it work! Faster than the paid support.
However, I need some help if possible!
Check the screenshot attached.The clickable leaf icon is slightly bigger than the header and its not flush to the header.
Attachments:
You must be logged in to view attached files.May 24, 2021 at 8:16 am #294943
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .btn-size-small.wd-open-popup { font-size: 20px; }
You can increase or decrease the font size as per your needs.
Best Regards
May 24, 2021 at 9:05 am #294959
nikosdimitriouParticipantActually I fixed it. Its ok now.
Problem now is that the html block with the Promo Banner size does not alter. Its always the same small one. Any idea?
Thanks
May 24, 2021 at 12:45 pm #295003
Elise NoromitMember -
AuthorPosts
- You must be logged in to create new topics. Login / Register