Remove title images

Posted in: Newspaper
Post count: 90

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

Post count: 35449

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!

Post count: 90

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

Post count: 35449

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!

Post count: 90

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.

Post count: 27744

Hello,

I just checked your website and now seems to work well https://www.screencast.com/t/gMwMiEVnPFZ

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.