How to Easily Add Customizable Tooltips to your Webflow Site

This post will teach you how to easily add customizable tooltips to your Webflow Site and when/why you might want to add tooltips!

ÍNDICE
Ovidiu

How to Easily Add Customizable Tooltips to your Webflow Site

Miembros necesarios

https://www.memberstack.com/scripts/tooltips-for-webflow

Tutorial

Clonable 

Why/Use Cases –

- Add customizable tooltips to your site to help visitors better understand certain elements and what interacting with them will do.

 Our guide below will help you add tooltips to your Webflow site using Tippy.js, which is a popular JavaScript library for tooltips. It has been converted into an attribute-based solution for Webflow with multiple possible attributes to make your tooltips work the way you want.

Adding customizable tooltips to a Webflow site

To add customizable tooltips to your Webflow site, we’re going to use MemberScript #110 – Tooltips for Webflow. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting it up

Start by selecting whatever it is that you want to add a tooltip to – a button, an image, etc.

Based on where you want to place the tooltip relative to the element the user is hovering over, you’ll need to add one of the following attributes:

· ms-code-tooltip-right=”YOUR TEXT GOES HERE”

· ms-code-tooltip-left=”YOUR TEXT GOES HERE”

· ms-code-tooltip-up=”YOUR TEXT GOES HERE”

· ms-code-tooltip-down=”YOUR TEXT GOES HERE”

Alternatively, you can add the following two attributes:

· ms-code-tooltip-placement=”PLACEMENT”

· ms-code-tooltip-content=”YOUR TEXT GOES HERE”

Instead of the “PLACEMENT” value, you can add any one of these: "top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "auto", "auto-start", and "auto-end".

Next up is the entrance animation of the tooltip, which you can choose using the following attribute:

· ms-code-tooltip-animation=”VALUE”

The value here can be any one of these: “fade”, “shift-away”, “shift-toward”, and “perspective”.

Then we have the tooltip’s theme, which can be either dark or light and you can choose with the following attributes:

· ms-code-tooltip-theme=”dark”

· ms-code-tooltip-theme=”light”

Now there’s the maximum width that you might want to set in case you have a longer tooltip and you can do so with this attribute:

· ms-code-tooltip-maxwidth=”NUMBER OF PIXELS”

There’s a lot more attributes that you can set to customize your tooltips and to see the full list along with live demos of each attribute, visit the cloneable page and just scroll down.

Hacer que funcione

Now that you’ve got everything configured and your tooltips are set up in Webflow, all you need to do is add the MemberScript #110 custom code to your page (or sitewide if that makes more sense), before the closing body tag.

Conclusión

That’s everything, you can now go ahead and test your tooltips on the live site.

If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.

Our demo can help you add customizable tooltips to your Webflow site using the popular Tippy.js library.

Button – Get cloneable

Añada afiliaciones a su proyecto Webflow en cuestión de minutos.

Más información

Más de 200 componentes Webflow clonables gratuitos. No es necesario registrarse.

Ver biblioteca

Añade membresías a tu proyecto React en cuestión de minutos.

Empezar
¿Qué es Memberstack?

Autenticación y pagos para sitios Webflow

Añada inicios de sesión, suscripciones, contenido cerrado y mucho más a su sitio Webflow: fácil y totalmente personalizable.

Más información
Empezar a construir

Pruebe Memberstack y descubra todo lo que puede crear.

Memberstack es 100% gratis hasta que estés listo para lanzarla - así que, ¿a qué estás esperando? Crea tu primera aplicación y empieza a construir hoy mismo.