Changes between Initial Version and Version 15 of Ticket #60374
- Timestamp:
- 06/14/2024 11:18:25 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60374
-
Property
Status
changed from
new
toassigned
- Property Focuses css added
-
Property
Milestone
changed from
Awaiting Review
to6.6
- Property Keywords has-patch needs-testing added
-
Property
Status
changed from
-
Ticket #60374 – Description
initial v15 1 Similar to https://core.trac.wordpress.org/ticket/599241 Similar to #59924 2 2 3 3 The navigation block has an option called "Open on click" that is available when there is a submenu. 4 When the option is enabled, the parent menu item is a <button> element. 4 5 When the option is enabled, the parent menu item is a `<button>` element. 5 6 On the front of the website, this button inherits the background styles from the themes button CSS: 6 7 {{{ … … 14 15 15 16 == Testing instructions: 16 Activate Twenty Sixteen17 Make sure that your WordPress installation has some content that you can place in the navigation block, because you will need to create a submenu.18 Create a new post or page.19 Add a navigation block. In the block, select the inserter and add a link: this will be your parent menu item. Click on the link and select the option "Add submenu". Add a link.20 Save.21 Go to the front of the website.22 Locate the navigation and hover over or move focus to the item that has the submenu.23 Confirm that the background color of the menu item changes.17 1. Activate Twenty Sixteen 18 2. Make sure that your WordPress installation has some content that you can place in the navigation block, because you will need to create a submenu. 19 3. Create a new post or page. 20 4. Add a navigation block. In the block, select the inserter and add a link: this will be your parent menu item. Click on the link and select the option "Add submenu". Add a link. 21 5. Save. 22 6. Go to the front of the website. 23 7. Locate the navigation and hover over or move focus to the item that has the submenu. 24 8. Confirm that the background color of the menu item changes. 24 25 25 26 (You may also notice that if you set a background color on the submenu item in the block settings, this color only works in the editor, not the front, and this is a separate issue.) 26