-
AuthorPosts
-
January 22, 2018 at 4:16 pm #900862
How do I prevent the file title from displaying on hover when using the Image Media Element?
January 22, 2018 at 4:27 pm #900865Hey tlscaliti,
Please refer to this post – https://kriesi.at/documentation/enfold/remove-image-titles-that-show-up-when-you-hover-on-images/
Best regards,
YigitFebruary 2, 2018 at 8:48 pm #907036Yigit,
Thank you for providing the post to hide image titles on hover. I’ve located Appearance>Editor but I’m not quite sure which theme file to select to place the coding. Also, I’m not currently using a child theme. Do I need to set one up to be able to apply the coding? How do I do this?
Toni
February 3, 2018 at 11:55 pm #907328Hi,
no need, but general we make a child theme so we can be able to update the theme, without loosing any modifications.
Best regards,
BasilisFebruary 6, 2018 at 12:02 am #908273Basilis,
I tried applying the code to the functions.php file as instructed in the link. When I applied to at the beginning of the file this message displayed:– Your PHP code changes were rolled back due to an error on line 10 of file wp-content/themes/enfold/functions.php. Please fix and try saving
again. syntax error, unexpected ‘}’When I applied the code to the end of the file this message was displayed:
– nonce_failure.
Please advise how to fix this.
tlscaliti
February 6, 2018 at 8:39 am #908392Hi tlscaliti,
Please add a child theme and put the code in the child theme functions.php.
The code in your parent theme would not save due to a security setting and you should add the code via FTP.
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 6, 2018 at 6:24 pm #908711Victoria,
In an earlier reply for this thread (2/3/18) Basilis indicated that I didn’t need to make a child theme.
I am not familiar with setting up a child theme and not sure how to add code via FTP. If this must be done to prevent file titles from displaying on hover please provide DETAILED explanation.
Lastly, please note that I’m working on a a live website. I don’t want to do anything that might compromise the existing pages.
tlscaliti
February 6, 2018 at 8:58 pm #908807Hi,
Please take a look here
for more details regarding the Child Theme.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.