Hi guys, I added a line break for some of my Icon Box titles to force the titles to display symmetrically on two lines, this seems to work well however if you hover your mouse over the icon-box title or icon link a little tool tip pops up with “link title <br/> rest of link title”.
I would like to have the tool tip just show “link title” (without the “<br/>) or prevent the tool tip from appearing when you hover over the icon-box icon title.
Maybe there is a better way of getting the icon box titles to appear on two separate lines that will avoid using <br/> altogether?
Please see the attached screenshot, thanks.
Hey samadhi_!
Please add following code to functions.php file in Appearance > Editor
function remove_title_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery('.iconbox_content_title a').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_title_attr');
Regards,
Yigit
Thanks for the quick response and great support as usual.
That worked perfect to remove the tool tip pop up for the title link and then I just added the following line to remove it from the icon link as well.
jQuery(‘a.iconbox_icon’).removeAttr(‘title’);
Thanks.
Hey!
Glad we got it short out!
Please do let us know if we can do anything else for you!
We would also appreciate, if you could rate our theme at themeforest!
That keeps us going and going!
Best regards,
Basilis