Use the toast shortcode to display a dismissable message in the bottom-right corner of the screen.
Use the tooltip
shortcode to display a tooltip for a hyperlink. Refer to the button on how to display a tooltip for a button instead. The inner content is used as hyperlink text.
The shortcode supports the following arguments:
Argument | Required | Description |
---|---|---|
color | No | Optional theme color of the element, either “primary” (default), “secondary”, “success”, “danger”, “warning”, “info”, “light”, “dark”, “white” or “black”. |
title | Yes | Title to display in the tooltip. |
href | Yes | Address for the button or hyperlink. |
placement | No | How to position the tooltip: “top” (default), “bottom”, “left”, or “right”. |
As an example, the following shortcode displays a tooltip for a colored hyperlink.
{{< tooltip color="warning" title="Tooltip" href="#" >}}
Tooltip demonstration
{{< /tooltip >}}