Text hover on text caption
-
Hi,
I am trying to put a caption by hover under my carrousel.
What is the best/simple way to do it, as it will be a different text on each project?I've just put the "info" texte under my carrousel as you can see where I want it to appear (https://sofiappfth.ch/?p=390)
and a simple example using css (https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip)
It be also great that when the hover-caption appears, "info" disappear.Thanks in advance,
Sofia :-) -
Dear @sofiapapa08
Sorry for the delay,
" It be also great that when the hover-caption appears, "info" disappear. "Isnt 'info' the Hover Caption? Just trying to understand better :)
Have a wonderful day
Richard
-
Hi,
No problem, thanks for the answer.
Yes, this wasn't really clear… I think what I really want to do is this https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip
I hope I am clearer,
if not tell me :-)Thank you,
Have a nice week,
Sofia -
Dear Sofia @sofiapapa08
If its going to be different text on each project then coding in for every image would take ages - Therefore using something built in is better - like captions.
Then you only have to target the captions <div> and make it appear on hover but the data inside (text) will be called automatically for you.
The principles of the example you provided: https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip
Are the same that you would use to make the captions appear
visibility:0tovisibility:1or
opacity:0toopacity:1or
display:nonetodisplay:blockAlso for help:
https://laytheme.com/documentation.html#custom-css-stylingBest wishes :)
Richard -
How about a feature to have "text-on-text-hover-box/bubble" in the future? Would be very helpful for example detailed info or explanation of words!! Any chance to get this on your list @arminunruh ?
-
Make caption follow mouse:
http://laythemeforum.com/topic/10519/make-image-caption-follow-mouse
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login