1. HOT Divi Ultimate Header Plugin - More variety for your Divi header: https://header.diviultimate.com/

Solved Disable image name display on hover.

Discussion in 'Free Divi Community Forum' started by Lauwrens, Jan 14, 2021 at 2:43 AM.

  1. Lauwrens

    Lauwrens Member

    1. AD Feature-rich Divi eCommerce Child Theme for WooCommerce: https://divi.help/link-forums/royalcommerce.151/
  2. Hey Lauwrens - add this code inside your <script></script>

    $("img").removeAttr("title");
     
    Lauwrens likes this.
  3. Problemizer.com

    Problemizer.com Divi Expert

    Hello Lauwrens,

    You can use this code and insert it into Divi -> Theme Options-> Inregration -> Add code to the < head > of your blog.

    Code:
    <script>
    document.addEventListener("DOMContentLoaded", function() {
          const images = Array.from(document.getElementsByTagName('img'));
          images.forEach(image => {
                image.removeAttribute('title');
          });
    });
    </script>
    Let me know if this worked. Thanks.
     
    Lauwrens likes this.
    1. AD Free multipurpose business child theme for Divi: https://divi.help/link-forums/divi-business.152/
  4. Lauwrens

    Lauwrens Member


    Works like a charm!

    Many thanks.
     
    Problemizer.com likes this.
  5. Lauwrens

    Lauwrens Member

    Thanks for the reply,

    Divi Expert has sorted it out.
     
    1. AD Premium quality Divi premade designs bundle: https://divi.help/link-forums/divi-den.146/