Hiding gallery title and description

  • 12 October 2021
  • 1 reply

Hi, I need to hide the image title and description from showing in the lightbox. Because of the SEO, I want to leave the title and description filled in, but do not want them to show below the image when people browse the gallery. Is there a CSS code for it?


Best answer by Simon Latham 12 October 2021, 11:49

View original

1 reply

Userlevel 6
Badge +1

Add this to your site-wide Custom CSS section (Site Settings > Settings > Custom CSS):

.elementor-slideshow__title, .elementor-slideshow__description {     visibility: hidden; }

Bear in mind, this hides the content in each element; it doesn’t hide the actual element. So there will be a ‘space’ left for each element. So maybe add a height property with a value of 1px or 0.