#55892 closed defect (bug) (fixed)
Twenty Twelve: submenu hidden under slideshow block
Reported by: | robertghetau | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Bundled Theme | Keywords: | has-patch needs-refresh changes-requested commit |
Focuses: | css | Cc: |
Description
This is a replica of this issue: https://github.com/Automattic/wp-calypso/issues/63939
Steps to replicate:
- Activate the theme Twenty Twelve
- Add 3 elements to the same submenu on the site
- Add a slideshow at the start of a page
Change History (22)
#1
@
3 years ago
- Component changed from Themes to Bundled Theme
- Summary changed from Twenty Twelve submenu hidden under slideshow block to Twenty Twelve: submenu hidden under slideshow block
This ticket was mentioned in Slack in #core-themes by karmatosed. View the logs.
6 months ago
This ticket was mentioned in PR #6886 on WordPress/wordpress-develop by @narenin.
6 months ago
#6
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/55892
#7
@
5 months ago
- Keywords needs-refresh added
This looks like it needs a refresh based on tests. Let's see about getting that.
#8
@
5 months ago
The test errors shown on GitHub does not seem to be related to the PR, can the tests be restarted?
(I do not have access to doing this).
Or are you referring to test results that are not listed here?
#9
@
5 months ago
@poena I just re-ran tests and looks like it was just a matter of them being stuck which is exciting to find out. If you are happy I will absolutely see about moving this to commit now.
#10
@
5 months ago
- Milestone changed from Future Release to 6.7
- Owner set to karmatosed
- Status changed from new to assigned
#11
@
5 months ago
I have not tested the PR with Jetpack or other "overlays", I am not sure that changing the z-index from 1 to 2 is enough.
I am still thinking about the easiest way to test it.
#12
@
5 months ago
- Owner changed from karmatosed to poena
Ok in that case, happy to assign to you whilst you do that @poena.
#13
@
5 months ago
- Keywords changes-requested added
Test results
- JetPack slideshow has z-index 1, so using 2 in the theme would solve this problem.
- Jetpack Image compare has z-index 5, so using 2 in the theme would not solve this.
- Jetpack Story has z-index 1.
- WooCommerce sale and zoom icons which sits over the product image, has z-index 9.
- Popup Maker -no issues found with or without the PR.
What does other menus use?
- The navigation block uses z-index: 2.
- Twenty Sixteen z-index: 99999
- Twenty Nineteen z-index: 99999
- GeneratePress z-index: 99999
- Kadence z-index: 1000
My recommendation would be to use 9999.
The navigation block is also broken in this theme, I will first check if there is an issue open for this.
@karmatosed commented on PR #6886:
5 months ago
#14
@narenin there is a recommendation on the track ticket to move this PR to use 99999 index, could you iterate?
@karmatosed commented on PR #6886:
5 months ago
#15
@narenin there is a recommendation on the track ticket to move this PR to use 99999 index, could you iterate?
@karmatosed commented on PR #6886:
5 months ago
#17
Thank you @narenin.
I wanted to say that this should be solved in Jetpack, not the theme. However, the submenus only have a z-index of 1, so any content element with a positive
z-index
could cover the submenu.