lightbox gallery customization

web
mobile

Topic: lightbox gallery customization

dron pro asked 5 months ago

Hello

Can you please tell what is the proper way to customize lightbox-gallery. As for now, I want to play with margins in the layout of the gallery. As far as I got I can only choose no-margin, or .5rem padding when I initialize the gallery. I try to override the padding with other padding adding, for example, this to head and to style.css

.mdb-lightbox \[class\*="col-"\] { padding: .1rem}

but it doesn't change anything, doesn't override mdb.min.css. Can you tell the proper way of tuning styles?

And also is there a way to add captions to images as you have in the carousel?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.12.0
  • Device: pc
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No