Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #364926

    Hello!

    In using the magazine entry to display posts, when I currently hover on any image or link in the magazine feature, I see a yellow box hover with the text “Link to: Home Page” – is there a way to remove this hover effect?

    Thank you!

    #364929

    Hi onegirlrtw!

    Please add following code to Functions.php file in Appearance > Editor

    function add_remove_mag_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('a.av-magazine-thumbnail-link').removeAttr('title');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_remove_mag_tooltip');

    Cheers!
    Yigit

    #364995
    This reply has been marked as private.
    #365145

    Hey!

    Yigit code should work. Looks like a plugin is adding the title attribute on the magazine title link. Please try this:

    add_filter('wp_footer', 'avf_remove_title_att', 10);
    function avf_remove_title_att() { ?>
    <script>
    (function($){
        $(window).load(function() {
        	$( "h3.av-magazine-title.entry-title a" ).each(function() {
    			$(this).removeAttr('title');  
    		});
        });
    	
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    #365337

    Thank you! This code works for the title links, but the hover effect is still there on each thumbnail link.

    Btw, I deactivated all the plugins, cleared the cache and still have this effect so I don’t think it is related to a plugin.

    #365340

    Hi!

    Do you mind creating a temporary admin login and posting it here privately? The code i posted should have removed it

    Regards,
    Yigit

    #371287
    This reply has been marked as private.
    #371463

    Hey!

    Please remove the codes we gave you then refer to this link to add the proper title attribute for the image and title of the magazine items: https://kriesi.at/support/topic/magazine/#post-368788

    This should be added on the next update.

    Cheers!
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.