How to remove the Text boxes from images with no text in Wix Pro gallery?

Question:
How to remove the Text boxes from images with no text in Wix Pro gallery?

Product:
Wix Studio

What are you trying to achieve:


As you can see, the middle image doesn’t have text, but the gap still exists between it and 3rd image.

I need to remove the gap and include texts only for few images.

What have you already tried:
Everything I could do within the Settings of Wix pro gallery.

Additional information:
None