Has anyone else come across the issue where you canāt close a modal dialogue because the top window furniture (containing the āXā close icon) is hidden by the main menu bar at the top of the screen?
Only solution Iāve found is to zoom our browser out and then drag the dialogue down (although it is quite tricky to grab the top window furniture to drag the window).
Please see attached image for example of what I see:
Iāve worked out a fix. I edited the file āthemes/Suite7/css/yui.cssā and added a z-index property to the yui-panel-container like this:
.yui-panel-container.shadow {
padding: 2px 4px 0 2px;
z-index:51 !important;
}
Modals always sits over the main header bar now.
2 Likes
Ok, my last answer doesnāt work. In certain places the shim/mask layer dynamically increases itās z-index to +10 greater than the dialogue so you end up with dialogues behind the shim/mask that you canāt interact with!
New solution is to remove my old solution, and then instead edit the file
htdocs/cache/themes/Suite7/css/style.css
and in the āheaderā block of the css change the z-index from 50 down to 0 so youāll have something like:
header {
position:fixed;
top:0px;
width:100%;
background: #333333; /* Old browsers */
...
border-bottom:2px solid #f10202;
z-index:0;
}
This places the header down the z-index order instead of trying to raise the dialogue up the order.
Looks like it works atm. Will have to see though if this solution has any unintended consequences also!
Ok found an issue with setting z-index of the header to 0, the menu now appears underneath the panels on the pages.
Setting the headerās z-index to 1 seems to fix that issue while still not overlaying the dialogue boxes.
One last amendment.
You need to make the change to the css in the base file:
htdocs/themes/Suite7/css/style.css
rather than the cached version of the file that i references earlier. Otherwise your change will be overwritten next time the āQuick Repairā tool is run!
Here we go again.
Found another issue with my solution. When clicking on a contactās email address the resulting pop-up is under the modal shim (the dark semi-opaque div).
To fix this I have had to override the shimās z-index to be 1 (for some reason it is set in the style property of the div element to 156!).
Edit the file āhtdocs/themes/Suite7/css/yui.cssā and edit the āmaskā rule to be as follows (basicall add the ā!importantā directive):
.mask {
z-index: 1 !important;
...
Then do a āQuick Repairā to propagate the changes.
To be honest I canāt believe that the software was allowed to be released with these functionality breaking issues present. Can these please be fixed for the next version?