Setting z-index on p-dialog overlays
Posted: 12 Sep 2017, 19:22
I need to be able to control the z-index for both the overlay and the dialog box that comes along with p-dialog. I have several other elements with higher z-index that I need the modal to cover.
I was able to override the overlay like so:
But overriding the .ui-dialog doesn't seem to affect it whatsoever. Any thoughts?
I was able to override the overlay like so:
Code: Select all
.ui-widget-overlay {
background: #666666;
opacity: .50;
filter: Alpha(Opacity=50);
z-index: 1500 !important;
}