Get a text popup when I mouse over an image ?
-
Hy again everybody !
I'm sorry, maybe my question has already been posted here. But I didn't find exact same question.
I want to do something on my website : Get a text popup when I mouse over an image ?I know, usually and all i find on this forum is this opposite of that. And I 'm trying to find the easely way to do it :
- if there is this option in image over add on (but i didn't see it : yes an image can appears when you mouse a text, but how can I do if I want the opposite thing : text appears when I mouse an image ?
- Can i use Pop MaKer on any other plugin for that ?
- Or maybe there is another option like use a shortcode perhaps ?
Thanks you for you future helpfull response and sorry for my english (a little bad).
Ps : This theme is so cool by the way !! Thank you so much to create it !!
-
I find something like this :
http://laythemeforum.com:4567/topic/5091/pop-up-window/6?_=1605879675811
-
Dear @Helena
That should work :) you would create a text element in the Gridder and give it a Custom Class called popup, and the code has 'button
jQuery(document).on("click", ".button", function(event) { jQuery('.popup').toggleClass('active'); });
This button would need to be replaced with the class name of what you would be clicking :)
best
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it