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!
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
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
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.
Hi!
Do you mind creating a temporary admin login and posting it here privately? The code i posted should have removed it
Regards,
Yigit
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