I would like this lightbox background to be full screen and opaque white. I have tried at least half a dozen different classes to effectuate this, but much to no avail.
Would you be able to share a live URL so I could take a closer look?
It’s likely you will need to do this with a sub-class rather than applying a class directly to the light box modal. Within modals there are typically various levels that background colours may be applied, so being able to dig through the layers and your classes would be helpful.
Unfortunately, I do not yet have a website, as I am still in the learning/testing stage.
For the record, though, these are some of the classes that I have tried, both individually and in combination:
fullscreen-modal
modal-backdrop
modal-body
lightbox-backdrop (I may have made this one up)
Is there any way, Norm, you could set up a similar grid, and figure it out on your end? It is just the most basic CSS grid, and I would like a full screen, opaque white background.
If you can create a very simple project with the settings you want for the modal, I can take a look and see if I can figure it out at my end with your project file.
OK, an exceedingly simple project, as requested. What I would like, as mentioned previously, is a full screen, opaque white background for the lightbox modal, rather than the attached shot showing a semi-transparent background.
Yes, that worked. I had changed the BG on the wrong class. So thank you.
And now, sorry, I have to bug you with one more thing. The modal image is way too big. To reduce the size, I tried modal-content, I tried img-fluid. Neither worked.
What is happening here is the class is looking for any images that are children of objects that have the fullscreen-lb class and then setting a maximum height of 60% of the vertical height of the screen.