Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1236678

    Hi there guys,

    Re: Preventing TOOLTIP TEXTOVER in MASONRY PHOTO GALLERIES

    I have been using a snippet of code added to the theme functions.php, which has stopped working with the current update, and I’m just looking for an update on what to search for and/or replace it with.

    The old search was for:
    $(‘a, img’).removeAttr(‘title’);
    And was then changed to:
    $(‘a, img, .av-masonry-image-container’).removeAttr(‘title’);

    Do you have an updated method to achieve the same result please?

    Many thanks, as ever.
    Stevo :-)

    #1236869

    Hey Stevo,

    Could you share the full function you are using please? Also please post a link to where we can see the results you are getting.

    Best regards,
    Rikard

    #1237164

    Hi there. A link added in private.

    What you see here is EVERYTHING I am using. Nothing more.
    I search for the first line of code within functions.php, and once found, replace it with the latter line of code (both in bold).
    This was actually provided originally by someone at Enfold.

    That code no longer works (on ANY masonry gallery), and I’m just hoping for a replacement snippet, or somethine else that will work.

    Cheers,
    Steve

    • This reply was modified 4 years, 3 months ago by Steve.
    #1237165

    ps. The function is literally to prevent Tool Tips from displaying when the mouse in in a hover state, as can be seen by mousing over any gallery entry on that page.

    #1237668

    Hi Steve,

    Thanks for that. I can’t see a tooltip when hovering over the images in the link you posted, so maybe it is working? The code you posted is for removing the title attribute, and that is still there as far as I can see. If you need further help then please post admin login details in private as well.

    Best regards,
    Rikard

    #1237830

    Sorry – I meant the title, but I still call everything showing in the little boxes a tooltip!

    Yes – I would love a replacement or additional piece of code that would remove this title in the Masonry Gallaries.

    Many thanks
    Steve

    #1238097

    Hi Steve,

    Thanks for the clarification. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1238401

    Added in Private
    Thank you 😊

    #1238734

    Hi Stevo,

    Thanks for that, but I’m getting blocked by Wordfence:

    Block Reason: Access from your area has been temporarily limited for security reasons.

    Do you think you can lift that ban for the countries listed in private until we have looked at your site? If not then please let us know which countries are not blocked.

    Best regards,
    Rikard

    #1238762

    So sorry Rikard! I always forget this…
    Those you listed have been unblocked.

    Thank you :-)

    #1238773

    Rikard – It has solved itself. Since your minor Enfold update (installed today), the code is now searchable again, and I can replace it once again with the snippet I first showed you, and all is well…

    It must have been omitted there for a while..?

    Anyway, case closed :-)
    Thanks again!

    #1238966

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Preventing TOOLTIP TEXTOVER in MASONRY PHOTO GALLERIES’ is closed to new replies.