Topic: lightbox gallery customization

dron free asked 4 years 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.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: pc
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No
Tags