Title: Adding jQuery tooltip on hover
Last modified: August 21, 2016

---

# Adding jQuery tooltip on hover

 *  [kpcwp](https://wordpress.org/support/users/kpcwp/)
 * (@kpcwp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adding-jquery-tooltip-on-hover/)
 * I’m trying to get [http://stefangabos.ro/jquery/zebra-tooltips/](http://stefangabos.ro/jquery/zebra-tooltips/)
   installed to create a tooltip on hover over the Facebook icon.
 * I’ve added the following code to social-simple-icons.php
    `'facebook' => array('
   label' => __( 'Facebook URI', 'ssiw' ), 'pattern' => '<li class="social-facebook"
   >[](https://wordpress.org/support/topic/adding-jquery-tooltip-on-hover/%s?output_format=md)',),
 * Here’s the jQuery I’ve created for /js/tooltip.js
    `jQuery(document).ready(function(
   $) { new $.Zebra_Tooltips($('.tooltips')); });
 * I’ve enqueued that file in Genesis functions.php
    `// Enqueue Social Facebook's
   Tooltip add_action( 'wp_enqueue_scripts', 'socialfacebook_enqueue_script' ); 
   function socialfacebook_enqueue_script() { wp_enqueue_script( 'follow', get_stylesheet_directory_uri().'/
   js/tooltip.js', array( 'jquery' ), '', true ); }
 * I’ve added the stylesheet in Genesis Theme Settings <head>
    `<link rel="stylesheet"
   href="/zebra_tooltips.css" type="text/css">`
 * I’ve included the zebra_tooltips.js library in the /js directory as well.
 * Not sure why it won’t work? I’ve created an installation on a non-WP html page
   for testing purposes.
 * Any clues?
 * [http://wordpress.org/plugins/simple-social-icons/](http://wordpress.org/plugins/simple-social-icons/)

The topic ‘Adding jQuery tooltip on hover’ is closed to new replies.

 * ![](https://ps.w.org/simple-social-icons/assets/icon.svg?rev=3358424)
 * [Simple Social Icons](https://wordpress.org/plugins/simple-social-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-social-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-social-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-social-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-social-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-social-icons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kpcwp](https://wordpress.org/support/users/kpcwp/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/adding-jquery-tooltip-on-hover/)
 * Status: not resolved