Topic: LightBox - add to manual figcaption

Volodymyr Yatsynych pro asked 6 years ago

Hello. I can not find in how to add Caption to Large image. Maybe it will be helpful for Other.
		<a href="" data-size="800x600">
			<img src="" class="img-fluid" alt="Slide 1">
		<figcaption itemprop="caption description">Slide 1</figcaption>

Kamil Paciepnik free answered 6 years ago

Hi Volodymyr Yatsynych, try use this code: HTML:
<figure class="col-md-4">
    <a href="" data-size="1600x1067">
        <img src="" class="img-fluid" />
    <p class="caption">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa saepe quod doloribus officia natus et nisi iusto porro fugit minima, molestiae ex modi numquam! Neque doloribus incidunt eveniet, a qui!
.caption {
    display: none;

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No