-
AuthorPosts
-
December 8, 2014 at 8:29 pm #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!
December 8, 2014 at 8:34 pm #364929Hi 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!
YigitDecember 8, 2014 at 10:20 pm #364995This reply has been marked as private.December 9, 2014 at 4:28 am #365145Hey!
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,
IsmaelDecember 9, 2014 at 2:45 pm #365337Thank 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.
December 9, 2014 at 2:50 pm #365340Hi!
Do you mind creating a temporary admin login and posting it here privately? The code i posted should have removed it
Regards,
YigitDecember 21, 2014 at 6:17 pm #371287This reply has been marked as private.December 22, 2014 at 7:11 am #371463Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.
