MyBB Community Forums

Full Version: Use custom css for all title html tags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, I need to customize the css for "title" html tag. It differs browser by browser. 

I would like to use JS solution.

Thank you!
The title tag? You can't style this, it's displayed in the browser tab...
Sorry, I mean a tooltip which is displayed on mouse hover.
You can't style those either, you'll need a javascript plugin to style them; jQuery UI, Bootstrap etc have them inbuilt.
Yeah, I will but anythink recommended?
It purely depends on how you want it to look; any of the ones on the first page of Google are pretty decent. http://www.tippedjs.com/ looks quite nice though.
Bootstrap has this built in, you place

<script>
jQuery(document).ready(function(){
    jQuery('[data-toggle="tooltip"]').tooltip(); 
});
</script>

and then add to the <a href="#" data-toggle="tooltip" title="XXXXXXXXXXXXX">

I see some sites going overboard with these tooltips, and it's annoying to the user IMO.