reply

Home Forums Responsive Themes Shop Theme Disable Image Title on Hover/Mouseover Reply To: Disable Image Title on Hover/Mouseover

  • JamesD
    JamesD
    Super Guru 1,719 points
    March 19, 2019 at 8:41 pm

    Hello Aaron,
    Put it in the jQuery(document).ready section of your javascript file. If it doesn’t have a section then place this at the bottom of the file:

    jQuery(document).ready(function(){
    jQuery(".elementor-image img").attr('title','')
    });

    Note: This should work with images within .elementor-image elements, not all images. Also, keep in mind that the image title can be taken into consideration with SEO. Removing them could have a potential impact.

    For ALL images you would use something like this (I don’t think it’s a good idea):

    jQuery(document).ready(function(){
    jQuery("img").attr('title','')
    });

    If for some reason none of the above doesn’t work then zip up your custom javascript file, attach it here and let me know the location the file within your theme.

  • New Business Themes for WordPress 2020

    Start your new website today!

    View Business Themes