Image Title showing on hover

This topic contains 9 replies, has 4 voices, and was last updated by  Naveen Giri 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #508339

    timgtheo
    Full Member
    Post count: 211

    Hi there

    In GD Details Template I’ve managed to remove title but when you hover over the image it displays the title. How can that be removed as well?

    Regards
    Tim

    #508347

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #508384

    timgtheo
    Full Member
    Post count: 211
    This reply has been marked as private.
    #508505

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #508590

    timgtheo
    Full Member
    Post count: 211
    This reply has been marked as private.
    #508624

    Naveen Giri
    Moderator
    Post count: 1559

    Hi @timgtheo,

    you can remove title attribute either by removing it in backend for image.
    or try following code

    
    
    
    add_action('wp_footer', 'gd_add_remove_title_script');
    function gd_add_remove_title_script(){
    ?>
    <script>
    jQuery(document).ready(function($) {
        $('img[title]').each(function() { $(this).removeAttr('title'); });
    });
    </script>
    <?php
    }
    	
    
    

    Thanks

    #508635

    timgtheo
    Full Member
    Post count: 211
    This reply has been marked as private.
    #508671

    Naveen Giri
    Moderator
    Post count: 1559

    Hi timgtheo,

    for customisation we have doc here that explain in detail.
    https://wpgeodirectory.com/docs-v2/faq/customizing/#snippets

    you can use https://wordpress.org/plugins/code-snippets/ plugin.

    if you are not comfortable. please share login details in private reply. we will do it for you.

    Thank you

    #508706

    timgtheo
    Full Member
    Post count: 211
    This reply has been marked as private.
    #509225

    Naveen Giri
    Moderator
    Post count: 1559

    Hi @timgtheo,

    please check i have updated code and added it in network site.
    so it will be applied for all subsite.

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount