Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #244197

    I found this piece of code to help me disable any alt/title text from showing when hovering over an image, but I can’t figure out exactly where to put it to make it work. I’ve tried applying it to the header.php (body and head) to no avail.

    I’m a newbie, please guide me!

    <script type="text/javascript">
    jQuery('document').ready(function($){
    	$('img').parent('a[title]').removeAttr('title');
    });
    </script>
    #244301

    We need to know the answer also! I bet Enfold theme will provide the best support! (Greetz to Yigit ;)

    #244446

    Hi!

    Please add following code to bottom of Avia.js file inside wp-content\themes\enfold\js folder

    jQuery(document).ready(function($){
    jQuery('img').removeAttr('title');
    });

    Greetings E! :)

    Best regards,
    Yigit

    #244476

    Yigit you’re champion maan! :)

    • This reply was modified 10 years, 9 months ago by e10durak.
    #244480

    Hey!

    Glad we could help! :)

    Regards,
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hiding all image alt/title attributes’ is closed to new replies.