- This topic has 12 replies, 3 voices, and was last updated 4 years ago by
David.
-
AuthorPosts
-
March 20, 2017 at 8:35 am #294775
kyle
I’m looking for the code for a CSS only tooltip function. Just to be clear by tooltip I mean when someone hovers over a particular work a popup box comes up with an explanation.
I have found code on google that works but also messes up other parts of my site.
Can anyone help?
Thnaks in advance
Kyle
March 20, 2017 at 8:49 am #294783Leo
StaffCustomer SupportHi Kyle,
Can you provide a link to your site so we can see what you have so far?
Thanks!
March 20, 2017 at 10:33 am #294838Tom
Lead DeveloperLead DeveloperSomething like this might help: https://chrisbracco.com/a-simple-css-tooltip/
March 20, 2017 at 10:34 am #294839kyle
I just managed to sort it thank you both for you responses!
March 20, 2017 at 10:39 am #294843Tom
Lead DeveloperLead DeveloperNo problem 🙂
March 26, 2018 at 4:06 pm #531751Gillian
Hi Tom
I used the CSS in the link you mentioned and have put it in the additional css for the moment. I get a warning against some of the code, for example,
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
has an ! beside it which gives
(<filter-function-list> | none) but found ‘progid: DXImageTransform.Microsoft.Alpha(Opacity=0)’
Is there something I should be doing about that? Thanks
March 26, 2018 at 8:54 pm #531915Tom
Lead DeveloperLead DeveloperPretty sure that part is for old internet explorer versions. You can remove it if you don’t need to support them.
August 29, 2021 at 3:57 am #1911507Mihail
Hello everyone!
Something like this might help: https://chrisbracco.com/a-simple-css-tooltip/
I tried using the above code for the GB button but nothing works…
Is it possible to make the code work with button GB?
Or maybe there is some other way to make a tooltip for the GB buttons?Thanks for the answer 😉
August 29, 2021 at 4:57 am #1911544David
StaffCustomer SupportHi there,
you would need GenerateBlocks Pro, which provides the data-attribute options in the Button blocks settings.
If you have GB Pro then raise a support topic over at GenerateBlocks and we can advise. But it cannot be done with the free version.August 29, 2021 at 6:07 am #1911593Mihail
you would need GenerateBlocks Pro
It’s a pity. Well, thanks for that 🙂
August 29, 2021 at 6:16 am #1911604David
StaffCustomer SupportGlad to be of help.
May 12, 2022 at 1:54 am #2217246Sasa Pajic
May 12, 2022 at 6:03 am #2217438David
StaffCustomer SupportNice – thanks for sharing 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.