Hide image title when when hovering over image

Using Enviera Gallery and I want to hide the image title when hovering over and image. I added the following code to WP Customize Additional CSS and also Themeco’s Eliment CSS with no luck

/* Hides the title tooltip on all images */
img {
pointer-events: none;
}

/* Hide image titles on hover */
img[title]:hover::after {
display: none !important;
}
img[title] {
pointer-events: none !important;
}
.pswp__caption__center {
display: none !important;
}

Hi Stephen,

Thanks for reaching out.

I’ve checked the Client page on your website where Envira Gallery is used, and I noticed that the title is not displayed when hovering over the images. Is this the issue you’re referring to? If not, and you’re pointing to something else, please share a screenshot highlighting the problem or a short video to help us clearly understand the issue.

Please note that custom CSS-related changes fall outside the scope of Theme Support . For further assistance, you may consider hiring a developer, or you can take advantage of our newly launched service, One , where we help with requests beyond standard theme support.

Thanks