Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #946776

    Wenn man mit der Maus über ein Bild fährt, dann wird die Bildbeschreibung als Mouseover text angezeigt.
    Das ist sehr störend, wie kann man das ausblenden?

    https://kriesi.at/themedemo/?theme=enfold-overview

    Viele Grüße Torsten

    #946796

    Hey Aaanalog,

    Yes this can be removed via the layout builder and css.

    Best regards,
    Jordan Shannon

    #946802

    Hi Jordan,

    And with what CSS code?

    Thank you very much,
    Cheers Torsten

    #946815

    Hi,

    This should work:

    .av-masonry-entry-title.entry-title{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #946845

    Hi,

    Unfortunately that does not work.
    I mean the title tag of the pictures.

    <a href="https://kriesi.at/themes/enfold-minimal-photography/portfolio-item/vanessa-vincent/" id="av-masonry-1-item-2063" data-av-masonry-item="2063" class="av-masonry-entry isotope-item post-2063 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio_entries-wedding av-masonry-item-with-image av-grid-img av-masonry-item-loaded" title="Vanessa & Vincent" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" style="position: absolute; left: 49.758298420883015%; top: 0px;"><div class="av-inner-masonry-sizer"></div><figure class="av-inner-masonry main_color"><div class="av-masonry-outerimage-container"><div class="av-masonry-image-container" style="background-image: url(https://kriesi.at/themes/enfold-minimal-photography/wp-content/uploads/sites/70/2017/03/PeopleImages.com-ID360807-705x470.jpg);"></div></div><figcaption class="av-inner-masonry-content site-background"><div class="av-inner-masonry-content-pos"><div class="av-inner-masonry-content-pos-content"><div class="avia-arrow"></div><h3 class="av-masonry-entry-title entry-title" itemprop="headline">Vanessa & Vincent</h3></div></div></figcaption></figure></a>

    <a href="https://kriesi.at/themes/enfold-minimal-photography/wp-content/uploads/sites/70/2017/03/PeopleImages.com-ID366299-1030x687.jpg" id="av-masonry-1-item-2022" data-av-masonry-item="2022" class="av-masonry-entry isotope-item post-2022 attachment type-attachment status-inherit hentry av-masonry-item-with-image lightbox-added av-masonry-item-loaded" title="" itemprop="thumbnailUrl" style="position: absolute; left: 0%; top: 0px;"><div class="av-inner-masonry-sizer"></div><figure class="av-inner-masonry main_color"><div class="av-masonry-outerimage-container"><div class="av-masonry-image-container"><img src="https://kriesi.at/themes/enfold-minimal-photography/wp-content/uploads/sites/70/2017/03/PeopleImages.com-ID366299-705x470.jpg" title="" alt=""></div></div></figure></a>

    • This reply was modified 5 years, 11 months ago by Aaanalog.
    #947147

    I Have found this code in a older post

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

    This works fine, but:
    Now the description under the enlarged picture in the lightbox is gone.
    Is there an workaround?

    Cheers Torsten

    #948210

    Hi,

    The more modifications you will do the more things might change and not work properly.
    Please consider to hire a developer so you can modify it properly instead of those hack techniques.

    Best regards,
    Basilis

    #956643

    HI Basilis,

    Thank you very much.
    I found out for myself, this code works:

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

    Cheers Torsten

    #956650

    Hi,

    Great! I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Enfold Minimal Photography – Mouseover Title Tag bei Bildern ausblenden’ is closed to new replies.