<script type="text/javascript"> $('body').on('mouseover mouseenter', '.tooltip', function(){ $(this).tooltipster({ contentAsHTML: 'true', animation: 'grow', theme: '.my-custom-theme', position: 'top-left' }); $(this).tooltipster('show'); }); </script>