Search
Other Modals questions
Forum

Overlay color

Arnor Baldvinsson's Avatar Arnor Baldvinsson
Hi,

Have the Pro installed on J4.2.8. Is it possible to set the overlay color? The dark theme s awfully dark, much darker than it was in J3. I have tried using the "opacity" and it doesn't seem to make any difference. "0", "0.1", and "1" all result in exactly the same dark color.

PS: When Modals open the header (data-modals-element="slide-title") shows up with a vertical scrollbar. Setting the line-height for it to 1.3 fixed that. 1.27 was enough to remove the scrollbar. It is set to 1.2 in the Cassiopeia template, at least that's what it shows up with.

Best regards,
Peter van Westen's Avatar Peter van Westen ADMIN
How are you trying to set the opacity? Via CSS?
For more info about how elements get their styling, you can use the Element Inspector of your browser.
Please post a rating at the Joomla! Extensions Directory
Arnor Baldvinsson's Avatar Arnor Baldvinsson
Hi Peter,

Via the opacity option. Just realized I was reading the J3 Docs 🙁 Is there no opacity option for J4?

Best regards,
Peter van Westen's Avatar Peter van Westen ADMIN
No, there is no opacity option in the Joomla 4 version.
You can control such things via CSS.

Also see: docs4.regularlabs.com/modals/the-basics/styling#custom-styling
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription