Tagged: enfold, Hide, image description, image title, Lightbox
-
AuthorPosts
-
December 6, 2016 at 11:40 am #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!December 7, 2016 at 6:07 am #721355Hey Maury73,
Could you post a link to the page in question so that we can take a closer look please?
Best regards,
RikardDecember 7, 2016 at 11:16 am #721422Rikard 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
December 9, 2016 at 4:16 pm #722482Hi 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,
YigitDecember 9, 2016 at 4:43 pm #722500311/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,
MaurizioDecember 9, 2016 at 4:47 pm #722504 -
AuthorPosts
- You must be logged in to reply to this topic.