Topic: Start the lightbox via a card

jore priority asked 3 years ago

Hello, I want to start a lightbox via a card. This should contain several images. Is that possible?

Resources (screenshots, code snippets etc.)

Thank you for your help.

jore priority answered 3 years ago

Thank you very much for helping.

Grzegorz Bujański staff answered 3 years ago

You can add Lightbox with d-none class to hide it. Then add some js to the button to open the Lightbox, like in this example:

Look at this snippet:

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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: PC
  • Browser: Edge, Chrome, Opera
  • OS: Windows 10 Pro
  • Provided sample code: No
  • Provided link: Yes