Topic: Lightbox gallery background
Calder free asked 2 years ago
Is it possible to modify the background of the lightbox gallery so that it is an alternative to solid black? I'd like to change the opacity if possible so that a little of the underlying page can be seen.
There is no method for changing default background color and opacity for Lightbox Gallery but you can achieve it by changing
background-color style of
.pswp__bg class, which is responsible for the background color. Please see the CSS tab from my snippet:
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.1
- Device: MacBook Air
- Browser: Google Chrome Version 86.0.4240.
- OS: OSX 10.14.6 Mojave
- Provided sample code: No
- Provided link: No