Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1031866

    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.
    #1033107

    Hey Munford,

    Best regards,
    Victoria

    #1033228

    thanks that worked!

    #1034562

    Hi Munford,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1062089

    thanks you can close this thread

    #1062555

    Hi,

    Thanks for letting us know, I’ll close this for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Logo element custom display captions’ is closed to new replies.