-
AuthorPosts
-
August 9, 2017 at 7:46 pm #836581
Hi
I have several galleries of images. When you click on the thumbnail, it opens a lightbox and the image has a caption. (good)
But I don’t want the caption to show when you hover over the thumbnail. How can I remove it?see here: http://www.thenewmasters.com/sam-james/gallery/
Thanks,
GinnyAugust 9, 2017 at 8:03 pm #836591Sorry – wrong URL: http://www.samjamesart.com
August 12, 2017 at 5:20 pm #837960August 14, 2017 at 7:14 pm #838884Yes – how do I remove that?
August 15, 2017 at 6:06 pm #839479Hello?
Is there a way to remove that caption when I hover on a gallery image?
August 17, 2017 at 2:15 pm #840393Hi ginnywills,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 17, 2017 at 3:28 pm #840447thanks
August 17, 2017 at 4:49 pm #840493Hi,
Please add this to functions.php
// remove tooltip add_action('wp_footer', 'ava_remove_tooltip'); function ava_remove_tooltip(){ ?> <script type="text/javascript"> (function($) { $('#top #wrap_all .avia-gallery .avia-gallery-thumb a img').each(function() { $(this).removeAttr('data-avia-tooltip'); }); })(jQuery); </script> <?php }
Best regards,
Jordan ShannonAugust 18, 2017 at 3:43 pm #840905Hi
I tried that and then I got this error:
http://www.samjamesart.com is currently unable to handle this request.
HTTP ERROR 500It took the whole site down.
Maybe a typo somewhere?August 18, 2017 at 5:01 pm #840933Hi,
That’s strange. Would you be able to provide FTP access so I can view the rest of the functions file?
Best regards,
Jordan ShannonAugust 21, 2017 at 2:15 pm #842008This reply has been marked as private.August 21, 2017 at 6:35 pm #842156Hi,
Do you mean why you can’t? You can’t use the dash editor?
Best regards,
Jordan ShannonAugust 21, 2017 at 6:37 pm #842160Usually I can edit the functions.php file straight through the WordPress dashboard but on this site it needs to be done via FTP. Do you know why?
Were you able to get in via FTP?
August 21, 2017 at 6:42 pm #842163Hi,
Do you have any user restriction? Perhaps a security plugin is blocking that particular link. I have not attempted the FTP yet as if I am able to use the dash as well it will be better.
Best regards,
Jordan ShannonAugust 21, 2017 at 7:17 pm #842189I disabled the security plugin and that did it. You should be able to get in via the dashboard now.
August 21, 2017 at 8:29 pm #842215Hi,
I added the following to functions.php:
function remove_custom_tooltip(){ ?> <script> /* The first line waits until the page has finished to load and is ready to manipulate */ jQuery(document).ready(function(){ /* remove the 'title' attribute of all <img /> tags */ jQuery("img").removeAttr("data-avia-tooltip"); }); </script> <?php } add_action('wp_footer', 'remove_custom_tooltip');
It works, please test.
Best regards,
Jordan ShannonAugust 21, 2017 at 9:50 pm #842247Its great. Thanks so much!!
August 22, 2017 at 11:24 am #842423Hi ginnywills,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.