I have been messing around with the file masonry-entries.php to remove the title=”Portfolio Item Title” bit of code from the links. I hate how it looks when that little tooltip pops up on hover. I thought I had delted all the title= pieces of code but they are still showing up. Any ideas?
Hi hmsvictory!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
figcaption.av-inner-masonry-content {
display: none;
}
If that does not help, please post a screenshot and show the changes you would like to make. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here. A link to your website would help as well
Cheers!
Yigit
Thanks Yigit.
That code does work to hide the title & excerpt. What I am wanting to hide is the little link title pop-up (“tooltip”) that comes from the <a href="link" title="popup">
on the portfolio item.
Hey!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('a').removeAttr('title');
jQuery('img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_tooltip');
Regards,
Yigit
That worked perfectly.
Many thanks, Yigit. The prompt support helps add value to the theme.
Hey!
You are welcome, glad we could help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Cheers!
Yigit