Hi, team!
How can I remove the image title attribute?
And how can I remove that edit button from images?
https://imgur.com/a/NlZBhNJ
Hi angelicantunes,
The button for edit the image is display only for users that are logged and have the right role to do it. If you still want to remove it, you can use a css like this one
.td-admin-edit {
display: none!important;
}
Set this code in theme panel > custom code > custom css.
Unfortunately, to remove the image title attribute there is no option, for this you need to use some extra code or some plugins, here is a similar question -> https://wordpress.org/support/topic/remove-image-title-attribute-on-hover/
Thank you!
Hi, Calin,
Thanks for the answer.
Oh! But I have a widget with an ad of a client, and in the code I have the title attribute empty and it displays the title of my website and the client wants the title attribute empty, only the alt for his website. Is there a way I can fix this?
Here is the example: https://imgur.com/a/oS59P12
Hi,
Sorry, but there is no option for this. Those elements are set be default, maybe only if you make a JavaScript code to remove the tooltip from links and images. Unfortunately, I do not know how to make a code like that, sorry!
Thank you for your understanding!
How is it by default? I told you I left the title attribute empty, so why it displays the title of my website?
Even if I put a text on the title attribute, it shows my website title, this is wrong… You should fix this.
Hello,
I just checked your website and now seems to work well https://www.screencast.com/t/gMwMiEVnPFZ
Thank you!