{"id":4957,"date":"2022-06-02T15:37:57","date_gmt":"2022-06-02T15:37:57","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=4957"},"modified":"2024-02-14T11:39:55","modified_gmt":"2024-02-14T11:39:55","slug":"how-to-add-a-tooltip","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/","title":{"rendered":"How to add a tooltip"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>In this article, you will learn how you can add a tooltip.<\/p>\n\n\n\n<p>A <strong><em>tooltip<\/em><\/strong> is often used to specify extra information about something when the user moves the mouse pointer over an element.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"265\" height=\"122\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png\" alt=\"\" class=\"wp-image-4965\" style=\"width:265px;height:122px\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step by Step Instructions<\/h2>\n\n\n\n<p><strong>LeadsHook provides 2 options to add a tooltip in a node.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">I. First Option: Using node level script<\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> To add a script at the node level, in the node, go to the Script section and click <strong>add<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"423\" height=\"129\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-1.png\" alt=\"\" class=\"wp-image-4959\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background\"><strong><em>Note: <\/em><\/strong>Make sure to fire this script upon entering a node.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"937\" height=\"141\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-3.png\" alt=\"\" class=\"wp-image-4961\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Copy and paste these codes below in the node where you want to add the tooltip:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;style&gt;\n  \/* Tooltip container *\/\n  .customtooltip {\n    position: relative;\n    display: inline-block;\n    font-size: 10px;\n    font-weight: bolder;\n    background-color: black;\n    color: white;\n    padding: 0px 5px;\n    border-radius: 50%;\n  }\n\n  \/* Tooltip text *\/\n  .customtooltip .customtooltiptext {\n    visibility: hidden;\n    width: 180px;\n    background-color: #555;\n    color: #fff;\n    font-size: 14px;\n    font-weight: 400;\n    text-align: center;\n    padding: 5px;\n    border-radius: 6px;\n\n  \/* Position the tooltip text *\/\n    position: absolute;\n    z-index: 1;\n    bottom: 23px;\n    left: -82px;\n    margin-left: 0px;\n\n  \/* Fade in tooltip *\/\n    opacity: 0;\n    transition: opacity 0.3s;\n  }\n\n  \/* Tooltip arrow *\/\n  .customtooltip .customtooltiptext::after {\n    content: \"\";\n    position: absolute;\n    top: 100%;\n    left: 50%;\n    margin-left: -5px;\n    border-width: 5px;\n    border-style: solid;\n    border-color: #555 transparent transparent transparent;\n  }\n\n  \/* Show the tooltip text when you mouse over the tooltip container *\/\n  .customtooltip:hover .customtooltiptext {\n    visibility: visible;\n    opacity: 1;\n  }\n&lt;\/style&gt;\n\n\n&lt;script&gt;\n  const <strong>tooltiptext1<\/strong> = document.createElement(\"<strong>span<\/strong>\");\n  <strong>tooltiptext1<\/strong>.innerText = <strong>\"You sell templated services for fixed prices\"<\/strong>;\n  <strong>tooltiptext1<\/strong>.classList.add(\"<em>customtooltiptext<\/em>\");\n  \n  const <strong>tooltiptext2<\/strong> = document.createElement(\"<strong>span<\/strong>\");\n  <strong>tooltiptext2<\/strong>.innerText = <strong>\"Priced based on time and materials needed\"<\/strong>;\n  <strong>tooltiptext2<\/strong>.classList.add(\"<em>customtooltiptext<\/em>\");\n  \n  setTimeout( ()=&gt;{\n    let <strong>productizedService<\/strong> = document.getElementById(\"<strong>tt1<\/strong>\");\n    <strong>productizedService<\/strong>.classList.add(\"<em>customtooltip<\/em>\");\n    <strong>productizedService<\/strong>.appendChild(<strong>tooltiptext1<\/strong>);\n    \n    let <strong>services<\/strong> = document.getElementById(\"<strong>tt2<\/strong>\");;\n   <strong> services<\/strong>.classList.add(\"<em>customtooltip<\/em>\");\n    <strong>services<\/strong>.appendChild(<strong>tooltiptext2<\/strong>);\n  }, 200);\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p><em>The stylesheet is responsible for the appearance of the tooltip container and text. While the script code is responsible for displaying the tooltip itself.<\/em><\/p>\n\n\n\n<p>The tooltip script has two elements, the createElement (&#8220;span&#8221;) and getElementById (ID), you can create these scripts as many as you&#8217;d like.  <\/p>\n\n\n\n<p>For the createElement (&#8220;span&#8221;), you can update the variable, as for the sample script above it is set as <strong><em>&#8220;tooltiptext1&#8221;<\/em><\/strong><sup> <\/sup> If you want to update the tooltip text, change the value where says in the sample variable <em>&#8220;<strong><strong>tooltiptext1<\/strong>.innerText<\/strong><\/em>&#8220;. <\/p>\n\n\n\n<p>For the getElementById, you can update the value that says <strong><em>productService, services, tt1, tt2.<\/em><\/strong> These values (<strong><em>productService, services<\/em><\/strong>) are just responsible to call the object (<em>customtooltip<\/em>) from the stylesheet and append the variable from the first element.<\/p>\n\n\n\n<p>On the field where you want to add the tooltip, add the tags &#8220;span&#8221; and ID values&#8221;. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"443\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-4.png\" alt=\"\" class=\"wp-image-4962\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 3:<\/strong> Watch the video below to learn more about how this works.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"tooltip v1- Using node level script\" src=\"https:\/\/player.vimeo.com\/video\/716442520?h=c6b2e07c96&amp;dnt=1&amp;app_id=122963\" width=\"980\" height=\"495\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>II.<\/strong> Second Option: Using DT level script<\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> To add the script, go to the Global Level Scripts via&nbsp;<strong>Admin&gt; Scripts<\/strong>, and click the&nbsp;<strong>Add&nbsp;<\/strong>button. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"373\" height=\"361\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-6.png\" alt=\"\" class=\"wp-image-4970\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Copy and paste the code below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;style&gt;\n  \/* Tooltip container *\/\n  <strong>.ctt<\/strong> {\n    position: relative;\n    display: inline-block;\n    font-size: 10px;\n    font-weight: bolder;\n    background-color: black;\n    color: white;\n    padding: 2px 5px;\n    border-radius: 50%;\n  }\n\n  \/* Tooltip text *\/\n  <strong>.ctt .cttt<\/strong> {\n    visibility: hidden;\n    width: 180px;\n    background-color: #555;\n    color: #fff;\n    text-align: center;\n    font-size: 14px;\n    font-weight: 400;\n    padding: 5px;\n    border-radius: 6px;\n\n  \/* Position the tooltip text *\/\n    position: absolute;\n    z-index: 1;\n    bottom: 23px;\n    left: -87px;\n    margin-left: 0px;\n\n  \/* Fade in tooltip *\/\n    opacity: 0;\n    transition: opacity 0.3s;\n  }\n\n  \/* Tooltip arrow *\/\n  <strong>.ctt .cttt<\/strong>::after {\n    content: \"\";\n    position: absolute;\n    top: 100%;\n    left: 50%;\n    margin-left: -5px;\n    border-width: 5px;\n    border-style: solid;\n    border-color: #555 transparent transparent transparent;\n  }\n\n\/* Show the tooltip text when you mouse over the tooltip container *\/\n <strong> .ctt:hover .cttt<\/strong> {\n    visibility: visible;\n    opacity: 1;\n  }\n&lt;\/style&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background\"><strong>Please take note:<\/strong>&nbsp;Add the script in the&nbsp;<strong>Above&lt;head&gt;<\/strong>&nbsp;so the script loads faster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"307\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/04\/image-3.png\" alt=\"\" class=\"wp-image-4749\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>On the field where you want to add the tooltip, add the tag &#8220;span&#8221; and the classes you created. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"506\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-7.png\" alt=\"\" class=\"wp-image-4971\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>These class values (<strong><em>ctt,cttt<\/em><\/strong>) is responsible to call the object from the stylesheet and apply the customization written in the stylesheet. <\/p>\n\n\n\n<p>Watch the video below to learn more about how this works.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"tooltip v2- Using DT level script\" src=\"https:\/\/player.vimeo.com\/video\/716446774?h=b96c12f6e3&amp;dnt=1&amp;app_id=122963\" width=\"980\" height=\"494\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>For any concerns or issues regarding this, please send an email to <a href=\"mailto:help@www.leadshook.com\">help@www.leadshook.com<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Update: For V2 Decision Trees<\/h2>\n\n\n\n<p><strong>This applies to multiple choice node where you need to add tooltip to specific answers. The example below is a multiple choice question node with 2 answers. <\/strong><\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Create a node level script and use the code below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script&gt;\n  const tooltiptext1 = document.createElement('span');\n  tooltiptext1.innerText = 'Answer 1 tooltip message goes here';\n  tooltiptext1.classList.add('customtooltiptext');\n\n  const tooltiptext2 = document.createElement('span');\n  tooltiptext2.innerText = 'Answer 2 tooltip message goes here';\n  tooltiptext2.classList.add('customtooltiptext');\n\n  setTimeout(() =&gt; {\n    let answer1 = document.getElementsByClassName('question-answer-layout-answer-layout-0')&#91;0].childNodes&#91;7];\n    answer1.classList.add('customtooltip');\n    answer1.appendChild(tooltiptext1);\n\n    let answer2 = document.getElementsByClassName('question-answer-layout-answer-layout-0')&#91;1].childNodes&#91;7];\n    answer2.classList.add('customtooltip');\n    answer2.appendChild(tooltiptext2);\n  }, 200);\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p><strong>Step 2: <\/strong>Add the &lt;span&gt; tag to your answers to apply the tooltip. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"558\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-1024x558.jpg\" alt=\"\" class=\"wp-image-7200\" style=\"width:391px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-1024x558.jpg 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-300x163.jpg 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-768x418.jpg 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-60x33.jpg 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span-150x82.jpg 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2024\/02\/Span.jpg 1105w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>For any concerns or issues regarding this, please send an email to <a href=\"mailto:help@www.leadshook.com\">help@www.leadshook.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this article, you will learn how you can add a tooltip. A tooltip is often used to specify extra information about something when the user moves the mouse pointer over an element. Step by Step Instructions LeadsHook provides 2 options to add a tooltip in a node. I. First Option: Using node level [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[273,548,620],"tags":[275,872,567,871],"class_list":["post-4957","post","type-post","status-publish","format-standard","hentry","category-appearance","category-css-hacks","category-scripts","tag-appearance","tag-customization","tag-script","tag-tooltip"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to add a tooltip - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add a tooltip - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Introduction In this article, you will learn how you can add a tooltip. A tooltip is often used to specify extra information about something when the user moves the mouse pointer over an element. Step by Step Instructions LeadsHook provides 2 options to add a tooltip in a node. I. First Option: Using node level [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-02T15:37:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:39:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"How to add a tooltip\",\"datePublished\":\"2022-06-02T15:37:57+00:00\",\"dateModified\":\"2024-02-14T11:39:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/\"},\"wordCount\":471,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-5.png\",\"keywords\":[\"appearance\",\"customization\",\"script\",\"tooltip\"],\"articleSection\":[\"Appearance\",\"CSS Hacks\",\"Scripts\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/\",\"name\":\"How to add a tooltip - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-5.png\",\"datePublished\":\"2022-06-02T15:37:57+00:00\",\"dateModified\":\"2024-02-14T11:39:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-5.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-5.png\",\"width\":265,\"height\":122},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-add-a-tooltip\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add a tooltip\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add a tooltip - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/","og_locale":"en_US","og_type":"article","og_title":"How to add a tooltip - LeadsHook Knowledge Base","og_description":"Introduction In this article, you will learn how you can add a tooltip. A tooltip is often used to specify extra information about something when the user moves the mouse pointer over an element. Step by Step Instructions LeadsHook provides 2 options to add a tooltip in a node. I. First Option: Using node level [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2022-06-02T15:37:57+00:00","article_modified_time":"2024-02-14T11:39:55+00:00","og_image":[{"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png","type":"","width":"","height":""}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"How to add a tooltip","datePublished":"2022-06-02T15:37:57+00:00","dateModified":"2024-02-14T11:39:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/"},"wordCount":471,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png","keywords":["appearance","customization","script","tooltip"],"articleSection":["Appearance","CSS Hacks","Scripts"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/","url":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/","name":"How to add a tooltip - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png","datePublished":"2022-06-02T15:37:57+00:00","dateModified":"2024-02-14T11:39:55+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2022\/06\/image-5.png","width":265,"height":122},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/how-to-add-a-tooltip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to add a tooltip"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=4957"}],"version-history":[{"count":22,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4957\/revisions"}],"predecessor-version":[{"id":7204,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4957\/revisions\/7204"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=4957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=4957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=4957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}