HI
I’d like to move the captions on my logo elements from the tooltip hover to underneath the logo. I saw on another thread (https://kriesi.at/support/topic/partnerlogo-element-no-tooltip-but-fixed-text-under-the-picture/#post-897348) to add this to functions.php but that didn’t work for me:
add_action('wp_footer', 'ava_new_custom_script');
function ava_new_custom_script(){
?>
<script type="text/javascript">
(function($) {
$(window).load(function() {
jQuery(".slide-entry.av_one_seventh").each(function() {
var el = jQuery(this);
var tip = el.attr("data-avia-tooltip");
if (typeof tip !== typeof undefined && tip !== false) {
el.append("<span class='custom-caption'>" + tip + "</span>");
el.attr("data-avia-tooltip", "");
}
});
});
})(jQuery);
</script>
<?php
}
can you help me with this?
thanks
Nancy
-
This topic was modified 6 years ago by Munford.