CSS class of "tooltip" is a terrible idea.. Breaks in Bootstrap
-
It seems as if the plugin works as expected, but the tooltips don’t display on my website that is running a theme based on the extremely popular Bootstrap framework. From my troubleshooting, this is because the STW tooltips are given the class “tooltip”.
This is a bad idea, as it’s such a generic class that it’s likely to interfere with lots and lots of themes, frameworks, plugins, etc. I’d suggest namescaping this somehow to something like “stw_tooltip” or similar.
https://www.ads-software.com/plugins/shrinktheweb-website-preview-plugin/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CSS class of "tooltip" is a terrible idea.. Breaks in Bootstrap’ is closed to new replies.