Codeinwp / neve-fse

The theme you already love, built for Full-Site Editing
15 stars 6 forks source link

Menu Items description is not visible on the front end #86

Open stefan-cotitosu opened 1 year ago

stefan-cotitosu commented 1 year ago

What problem does this address?

If a menu item has description defined, the description doesn't appear on the front end.

fse-menu-description

I've solved it with the following code snippet.

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    display: flex;
    flex-direction: column;
}
.wp-block-navigation .wp-block-navigation-item__description {
    display: block;
}

What is your proposed solution?

Add an option, maybe a toggle, to make the description of the menu item visible.

Requested here: https://wordpress.org/support/topic/neve-fse-and-menu-description/#post-17080104

Will this feature require documentation? (Optional)

Yes, it requires documentation.

HardeepAsrani commented 11 months ago

@JohnPixle For this, we can make it visible but looking at the repository, not even core themes display the menu description. Have you seen any theme that does this? Or do you have any UI in mind?

JohnPixle commented 11 months ago

@HardeepAsrani Thanks for looking into this. I will remove this from the milestone. It can stay in the backlog until we have something more solid on this.