Limit caption width in custom slider

  Kiến thức lập trình

I have here this custom programmed gallery and the problem is, that the caption is limited to a certain width at the moment. How can I extend this caption to ~90% of the image width above? As the image width is dynamic, I cannot work with fixed width settings.

Test Galerie mit Carousel

And attached a screenshot description on this.
enter image description here

1

LEAVE A COMMENT