Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #984782

    Both with the masony gallery (here I entered an html code):
    https://test.apuliatravelexperience.com/holidays/accommodations

    that with the esay slider:

    The image titles come out of me. Can you tell me how I can make sure that they are hidden and that you do not see anything when you go with the mouse?

    #984964

    Hey framex84,

    That is default browser behaviour, if you want to remove that data then you can do so in the WordPress gallery by editing the actual image.

    Best regards,
    Rikard

    #985058

    But I’m talking about the image title. It always comes out anyway because a picture always has its name. I can not delete the title.

    I do not know if I have explained myself badly.

    When you move the mouse over the photos, the image title is exited. And I was wondering if this title was possible to hide it.

    If you want I send you a screenshot

    #985388

    Hi,
    I took a look at your site but I didn’t see the image titles that normally show on hover, perhaps you have solved this?
    One solution for this is to try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
      jQuery(window).load(function(){
    jQuery('a').removeAttr('title');
    jQuery('img').removeAttr('title');
    });
      </script>
      <?php
      }
      add_action('wp_footer', 'custom_script');
    

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.