- Issue created by @masipila
- 🇫🇮Finland masipila
Okay, found the answer to my first question. The drop-down that this Olivero z-indexing is addressing is this: 🐛 Olivero footer can obscure bottom of dropbutton dropdown Fixed
Do we have other options to address the drop-down issue than explicitly setting the whole .layout-main-wrapper to have a higher z-index than .site-footer?
- Status changed to Postponed: needs info
almost 2 years ago 5:16pm 4 July 2023 - 🇫🇮Finland lauriii Finland
Would you be able to place the cookie banner in a block that is rendered in the main layout? This would most likely address the problem. The footer z-index is currently set as such that it will always render behind main content.
- Status changed to Closed: works as designed
over 1 year ago 6:52am 5 July 2023 - 🇫🇮Finland masipila
Hi @lauriii, thanks for the suggestion!
I tried moving the COOKiES UI block to the "Content below" region in Olivero and indeed the modal dialog now opens on top of the other layers as expected.
It's quite typical that the sites want to still have a hyperlink in the footer which points to #editCookieSettings (when using the COOKiES module) so that the user can manually open the modal dialog to change the cookie preferences. But this is completely OK with your proposed resolution because the modal dialog itself is now in "Content below" region.
I'm marking this as closed here on the Olivero side and will comment on 📌 Document that COOKiES UI block should be placed in Content Below region when using Olivero theme Active so that this configuration will be added to COOKiES documentation.
Even though my comment here is specific to COOKiES modal dialog, I would say that this should be accepted as a generic answer because the modal dialog would be invisible when it's closed and it will be positioned separately when it's open. In other words, it really doesn't matter where the block providing the modal dialog is placed.
Cheers,
Markus