Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #720936

    Hi guy :)

    I would like to suppress the display of the title and description in my photos when they open in the lightbox.

    I tried to put this code in the Quick CSS:

    .mfp-title {
    display: none! important;
    }

    But it does not work.
    can you help me?
    Thank you so much!

    #721355

    Hey Maury73,

    Could you post a link to the page in question so that we can take a closer look please?

    Best regards,
    Rikard

    #721422

    Rikard Good morning and thanks for the support.

    I created this page in a gallery using the masonry gallery with opening images in lightbox, the link is this:

    I would like to hide the title of the file / image when it opens in lightbox window

    You can view a screenshot here:

    http://www.mauriziocimino.it/Hide-title-image-in-lightbox.jpg

    I would also hide the display of the alt tag on the images on mouseover, to hide the alt tag, however, I would like to know if this trick is bad for SEO of my site.

    I do not know if you can achieve this: I would just hide the alt tag on mouseover but I would like the search engines still see the alt tag.

    it’s possible?

    I have tried all the codes in the Quick CSS I found in various posts here on the forum, but do not work

    Thank you so much for your help

    Maury

    #722482

    Hi Maury!

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    div .mfp-title { display: none !important; } 
    

    You can also refer to this post – http://kriesi.at/documentation/enfold/remove-image-titles-that-show-up-when-you-hover-on-images/ however since this is a browser feature, having it but not displaying is not possible

    Best regards,
    Yigit

    #722500

    311/5000
    Yigit Hi, and thanks for your support :)
    I tried the code you gave me in Quick CSS but does not work :(

    For editing the file function.php, I ask you:

    somewhere on the page, I have to copy the code?

    at the bottom?
    on the top?

    Could you show me please?

    Many thanks in advance,
    Maurizio

    #722504

    Hi!

    Excuse me, i missed part :)
    There might be an error in your custom CSS. Can you please create a temporary admin login and post it here privately?
    Regarding the other code, you can add it to the bottom of Functions.php file

    Regards,
    Yigit

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