Opened 4 years ago
Closed 3 years ago
#51938 closed defect (bug) (invalid)
Twenty Twenty-One shows top level category descriptions in menus
Reported by: | andraganescu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.6 |
Component: | Bundled Theme | Keywords: | |
Focuses: | ui | Cc: |
Description
Adding a category link to a menu, breaks the menu layout if the category has a description, particularly if the description is longer.
Attachments (1)
Change History (10)
#2
@
4 years ago
- Summary changed from TwentyTwentyOne shows top level cateogry descriptions in menus to Twenty Twenty-One shows top level category descriptions in menus
#4
@
4 years ago
Yeah, I agree with @poena — at some point, using a shorter description is the answer here. 😄
This seems like an edge case to me. Doesn't mean we shouldn't fix it, but I am a little unclear how frequently longer descriptions are typically used on actual sites. If folks have examples they can share, that would help us assess the problem and priority!
#5
@
4 years ago
I think part of the reason this is unexpected is that by default, the menu item's description field is hidden. So when you add a category to the menu, it autofills the category description into the menu item's description, but you don't see that in the menu screen. Ironically, it doesn't do that in the customizer, where it would be obvious.
You can change the menu description from the menu UI without changing the category description, so it can have a shorter description (or none) in the menu, while keeping the longer text on the category archive. I don't know that there's much to fix here, maybe a note in the docs that the menus use descriptions & how to see them would help.
#7
@
4 years ago
Hi
I have added a brief description about how to enable menu descriptions to the documentation here:
https://wordpress.org/support/article/twenty-twenty-one/#menu-descriptions
I am not sure if this is a bug or a case of "the user needs to use a shorter description".
The description is also a feature that is turned off by default and the text only displays if enabled.