-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cover block in content body overlaps mobile menu overlay #45353
Comments
Confirmed that this occurs when there is a Navigation block inside a cover block. Affects cover blocks in the content body. |
Ran into this with a user who using the blockbase theme and their Cover block on their site is covering their menu on mobile view. This appears to not only affect Cover Block inside the Navigation block but, like the other reported issue, it's happening when a Cover Block is inside content as well. I recommend the user to use another block (Media and Text), and the issue was resolved. |
Reported here as well: https://wordpress.org/support/topic/menu-z-index-on-mobile-views/ |
This could be closed after: #66093 |
Description
When a Navigation block is added within a Cover block in the header template part, and then a Cover block (using background image and also contains a Post Title block) in the content body is rendered on mobile, the second Cover block overlaps the mobile menu overlay, as if the z-index is greater than the menu.
Step-by-step reproduction instructions
The structure in the site editor should look like this:
Screenshots, screen recording, code snippet
Screen recording:
Cover.block.issue.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: