Add tooltips in Joomla!

  • Last updated: 24 Apr 2020
  • Version: 7.4.2
  • Types: System plugin Editor button plugin
  • Joomla rating: 100%

Tutorial for Tooltips

There is a Free and a Pro version of Tooltips.
The parts in this tutorial that only concern the Pro version will be marked with: Pro only

Tooltips is based on the Bootstrap popovers. So Tooltips uses and needs the Bootstrap framework (styles and scripts).
This means that Tooltips will only function correctly if your Joomla 3 template allows the Bootstrap framework to be loaded and does not cause conflicts with the jQuery and bootstrap javascripts.


Tooltips is a Joomla! system plugin (and editor button plugin) that allows you to display information to your visitors, that may be text or an image, without taking the user away from the current location in the site.

How to use it (syntax)

Using Tooltips is pretty simple and straightforward. You just place {tip} tags around the text (or image) that should have a tooltip.
You don't need to go into html view, you can use this right in your WYSIWYG editor.

The syntax for a simple tooltip looks like this:
This text has a tooltip

{tip content="This is the text in the tooltip"}This text has a tooltip{/tip}

When you only have a content in the tag and no other parameters (like title, class, etc), you can also place the tooltip text directly in the tag, like:

{tip This is the text in the tooltip}This text has a tooltip{/tip}

To create a tooltip with a title, use the title parameter, like:
This text has a tooltip

{tip title="Tooltip Title" content="This is the text in the tooltip"}This text has a tooltip{/tip}

You can also create a tooltip with only a title and no content:
This text has a tooltip

{tip title="Tooltip Title"}This text has a tooltip{/tip}

The tooltips can contain rich text formatting, like bold, italic and underlined text. Just format the text through your editor's styling options.

You can also give images a tooltip, and even place images inside the tooltip text.


Editor Button

You can enter the Tooltips tags directly into your content. However, to save time typing and remembering what the exact syntax is, Tooltips comes with a handy editor button.

You can use this editor button (located below the text input area) to place an example Tooltips tag block in your article (or other editor fields).

After inserting the example code, you can change it in your editor to whatever you desire.

You can customize the default example code in the Tooltips system plugin settings.


Tooltip with a title and text

Hover here to see tooltip

{tip title="Cool..." content="This is a tooltip!"}Hover here to see tooltip{/tip}

Tooltip with only text

Hover here to see tooltip

{tip content="This is a tooltip!"}Hover here to see tooltip{/tip}


{tip This is a tooltip!}Hover here to see tooltip{/tip}

Tooltip with only a title

Hover here to see tooltip

{tip title="This is a tooltip!"}Hover here to see tooltip{/tip}

Tooltip with rich text

Hover here to see tooltip

{tip content="You can use bold, italic, underlined text.
Or use enters and any other markup you want!"}Hover here to see tooltip{/tip}

Tooltip with images

You can even make images show in the tooltips and use this - for example - as a gallery:

The syntax

To create this, just place the thumbnail images in your editor inside the surround them with the {tip} tags.

You can then use the image parameters to define the image for inside the tooltip.

{tip image="images/fruit/apple.jpg" image_height="150" image_width="200"}{/tip} {tip image="images/fruit/banana.jpgjpg" image_height="150" image_width="200"}{/tip} {tip image="images/fruit/blueberry.jpgjpg" image_height="150" image_width="200"}{/tip} {tip image="images/fruit/strawberry.jpgjpg" image_height="150" image_width="200"}{/tip} {tip image="images/fruit/orange.jpgjpg" image_height="150" image_width="200"}{/tip} {tip image="images/fruit/lime.jpgjpg" image_height="150" image_width="200"}{/tip}

You can also simply place the large images right inside the content parameters using your editor.

{tip content=""}{/tip} {tip content="<img src="/images/fruit/banana.jpg" height="150" width="200" alt="" />"}{/tip} {tip content="<img src="/images/fruit/blueberry.jpg" height="150" width="200" alt="" />"}{/tip} {tip content="<img src="/images/fruit/strawberry.jpg" height="150" width="200" alt="" />"}{/tip} {tip content="<img src="/images/fruit/orange.jpg" height="150" width="200" alt="" />"}{/tip} {tip content="<img src="/images/fruit/lime.jpg" height="150" width="200" alt="" />"}{/tip}

Or place the html in the content parameters, instead of the large images. However, that can get a little confusing, as you get weird nested quotes:

{tip content="<img src="/images/fruit/apple.jpg" height="150" width="200" />"}{/tip} {tip content="<img src="/images/fruit/banana.jpg" height="150" width="200" />"}{/tip} {tip content="<img src="/images/fruit/blueberry.jpg" height="150" width="200" />"}{/tip} {tip content="<img src="/images/fruit/strawberry.jpg" height="150" width="200" />"}{/tip} {tip content="<img src="/images/fruit/orange.jpg" height="150" width="200" />"}{/tip} {tip content="<img src="/images/fruit/lime.jpg" height="150" width="200" />"}{/tip}


Custom Styling

The default tooltip styling is based on the tooltips used in the Joomla administrator, with the addition of some CSS3 styles like border radius and a shadow.

Tooltips gives you many options to adjust the default styling and can further be fully styled through CSS.
See the Tooltips system plugin settings for an overview of all styling options.

Tooltips that contain only an image will have a different class name and can therefore be styled differently to text tooltips. By default the image tooltips have no border radius and no padding.

If you have sufficient CSS knowledge you can fully customize the styling of the tooltips.

Take a look at the stylesheet that comes with Tooltips in: /media/tooltips/css/style.min.css

You can overrule the Tooltips stylesheet by copying it or creating your own in: /templates/[YOUR TEMPLATE]/css/tooltips/style.min.css

Please note that the css in the style.min.css is compressed (minified). To get the not-minified css, look in the style.css. Also the original LESS files are included in the /media/tooltips/less folder.

Individually styled tooltips

The tooltips - by default - have a tasteful and neutral styling.

To add an extra class to a tooltips (for styling purposes), you can use add a class parameter:

{tip content="This is a tooltip!" class="myclass"}Hover here to see tooltip{/tip}

Color Classes

Tabs' stylesheet comes with styling for the classes blue, green, orange, red and gray / grey.

blue | green | orange | red | gray / grey

{tip title="Tooltip Title" content="Tooltip text..." class="blue"}blue{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="green"}green{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="orange"}orange{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="red"}red{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="gray"}gray{/tip} / {tip title="Tooltip Title" content="Tooltip text..." class="grey"}grey{/tip}

Bootstrap Classes

You can also use the Bootstrap classes primary, info, success, warning and danger / error.

primary | info | success | warning | danger / error

{tip title="Tooltip Title" content="Tooltip text..." class="primary"}primary{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="info"}info{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="success"}success{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="warning"}warning{/tip} | {tip title="Tooltip Title" content="Tooltip text..." class="danger"}danger{/tip} / {tip title="Tooltip Title" content="Tooltip text..." class="error"}error{/tip}

Custom Styling

The classname you add, will be added to both the link text element and the tooltip element. So you can use CSS to style it like you want.

My custom styled tooltip

{tip title="Tooltip Title" content="Tooltip text..." class="mystyle"}My custom styled tooltip{/tip}

Positioning Pro only

In the Pro version of Tooltips you have the option to set the positioning of the tooltips.

There is a global option that will affect all tooltips. But you can also overrule this in the {tip} tag. You can just add a position parameter with the value left, right, top or bottom.


{tip title="Tooltip Title" content="Tooltip text..." position="left"}Left{/tip}
{tip title="Tooltip Title" content="Tooltip text..." position="right"}Right{/tip}
{tip title="Tooltip Title" content="Tooltip text..." position="top"}Top{/tip}
{tip title="Tooltip Title" content="Tooltip text..." position="bottom"}Bottom{/tip}

Click mode Pro only

With the Pro version tooltips can also be triggered by clicking on the link instead of hovering over it. This can be set as the default behaviour, or overrule it via the mode parameter in the tag: Click here to see tooltip

{tip content="This is a tooltip!" mode="click"}Click here to see tooltip{/tip}


Tooltips is packed with options, giving you control over how the tooltips look and behave. Here is the full list of options you can find in the Tooltips system plugin settings:


Load Stylesheet Select to load the extensions stylesheet. You can disable this if you place all your own styles in some other stylesheet, like the templates stylesheet.


Colour The colour of the tooltip link. Leave empty to use the default colour defined by your template.
Underline Select how to underline the tooltip link. This will not underline linked images.

Options: No, Yes, Dotted, Dashed
Underline Colour The colour of the underline of the tooltip link


Title Colour The colour of the text in the tooltip title. Leave empty to use the default colour defined by your template.
Text Colour The colour of the text in the tooltip. Leave empty to use the default colour defined by your template.
Link Colour The colour of links in the tooltip. Leave empty to use the default colour defined by your template.
Background Colour Title The colour of the background of the tooltip title. Leave empty to use the default colour defined by your template.
Background Colour The colour of the background of the tooltip. Leave empty to use the default colour defined by your template.
Border Colour The colour of the border of the tooltip. Leave empty to use the default colour defined by your template.
Maximum Width Set the maximum width of the tooltip.

This will not effect tooltips with larger images. The tooltip will resize to the image width.
z-index Enter the z-index of the tooltip element. Change this to a higher value if you have problems with other elements overlapping it.


Mode Select whether the tooltips should show on mouse click or hover.

With the sticky mode, the tooltip will show on hover and hide on click or timeout.

Options: Hover, Sticky, Click
Hide Delay The delay in milliseconds. Set to 0 for no delay.
Hide Delay Touchscreens The delay in milliseconds. Set to 0 for no delay.
Use Timeout Select to use a timeout after which the tooltip should hide.
Timeout Set the timeout (in milliseconds) after which the tooltip should hide. The timeout is reset when hovering over the link or tooltip.
Position Select the position of the tooltip relative to the link.

Options: Left, Right, Top, Bottom
Use auto-positioning Select to make the tooltip show in a different position when there is not enough room in the default position.
Fallback position The fallback position to use when there is not enough room in all positions.

Advanced Settings

Tooltips Tag The word to be used in the tags.

Note: If you change this, all existing tags will not work anymore.
Tag Characters The surrounding characters of the tag syntax.

Note: If you change this, all existing tags will not work anymore.

Options: {...}, [...], {{...}}, [[...]], [:...:], [%...%]
Disable on Components Select in which frontend components NOT to enable the use of this extension.
Remove in Disabled Components If selected, the plugin syntax will get removed from the component. If not, the original plugins syntax will remain intact.
Enable in administrator If enabled, the plugin will also work in the administrator side of the website.

Normally you will not need this. And it can cause unwanted effects, like slowing down the administrator and the plugin tags being handled in areas you don't want it.
Use Media Versioning Select to add the extension version number to the end of media (js/css) urls, to make browsers force load the correct file.
Load Bootstrap Framework Disable to not initiate the Bootstrap Framework.

Tabs needs the Bootstrap Framework to function. Make sure your template or other extensions load the necessary scripts to replace the required functionality.

Editor Button Options

Button Text This text will be shown in the Editor Button.
Enable in frontend If enabled, it will also be available in the frontend.
Use Simple Button Select to use a simple insert button, that simply inserts some example syntax into the editor.
Use Custom Code If selected, the Editor Button will insert the given custom code instead.
Custom Code Enter the code the Editor Button should insert into the content (instead of the default code).


You can either install Tooltips by using the core extension manager available in the Joomla! Administrator Control Panel, or by using the powerful Regular Labs Extension Manager.

Note: When updating Tooltips, you do not need to uninstall it first. The package will update all the files automatically.

Keep in mind that when you update to a major new version (or uninstall first), you might lose some configuration settings.

Regular Labs Extension Manager

It is very easy to install/update any Regular Labs Extension using the Regular Labs Extension Manager.

Please see the Tutorial for the Regular Labs Extension Manager for more detailed information...

Joomla! Extension Manager

To install via the Joomla! Extension Manager, just follow these steps:

  1. Log into your Joomla administrator;
  2. In the menu, choose: Extensions >> Extensions;
  3. Choose the tab: Install from Web (or enable it if you haven't done so yet);
  4. Select the search field and enter Tooltips and hit enter;
  5. Click on the Tooltips listing;
  6. Click on Install;
  7. Click on Install to confirm.
Joomla! Installer - Install from Web

Or if you need to install the Pro version or cannot install via the 'Install via Web' method for some reason:

  1. Download the extension install file (.zip);
  2. Log into your Joomla administrator;
  3. In the menu, choose: Extensions >> Extensions;
  4. Choose the tab: Upload Package File;
  5. Click on the Choose File button and select the extension zip;
  6. Click on Upload & Install.
Joomla! Installer - Upload Package File

If you have problems installing Tooltips, please try the manual installation process as described here: