Get a text popup when I mouse over an image ?
-
wrote on Nov 19, 2020, 10:37 PM last edited by
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 !!
-
wrote on Nov 20, 2020, 3:43 PM last edited by
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 -
wrote on Nov 24, 2020, 10:17 AM last edited by
Ok Great thanks alot i'm to test it today. Right now actually !! But i need a little lesson to code first so I will tell you maybe tomorrow if it's work cause actually when I write something in CSS nothings happened....
-
Good Luck! there is lots of content on the internet surrounding CSS :) so you wont be alone.
Best
Richard
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
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