Skip to content
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

Add alignment option for the whole menu in the header area #3911

Open
stefan-cotitosu opened this issue Mar 24, 2023 · 2 comments
Open

Add alignment option for the whole menu in the header area #3911

stefan-cotitosu opened this issue Mar 24, 2023 · 2 comments
Labels
customer report Indicates the request came from a customer. new feature Request for a new feature or functionality to be added to the project.

Comments

@stefan-cotitosu
Copy link
Contributor

stefan-cotitosu commented Mar 24, 2023

What problem does this address?

If the primary menu has multiple items and it expands on two rows, there is no option to center all the items.

Markup on 2023-03-24 at 21:01:24

Currently, it can be done with CSS code, as the current alignment option is for the items themselves, not for the whole menu.

.nav-ul {
    justify-content: center;
}

What is your proposed solution?

Add an option for aligning the whole menu in the space it occupies within the header row.

Requested here - https://secure.helpscout.net/conversation/2191004513/362715/

@stefan-cotitosu stefan-cotitosu added the new feature Request for a new feature or functionality to be added to the project. label Mar 24, 2023
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Mar 24, 2023
@HardeepAsrani
Copy link
Member

Just as a design feedback @mghenciu, do you think it will be helpful or if it's adding too many granual and specific option?

@mghenciu
Copy link

From a UIX pov, having a menu that goes on 2 lines isn't a good practice nor something very common. Meaning that if there are too many items, a mega menu is needed - not a 2 line menu.

But, from a consistency pov - the alignment should be present, as we have this option for the Footer menu:
Screenshot 2023-03-27 at 11 08 53

Maybe there was a reason, to not include it in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer report Indicates the request came from a customer. new feature Request for a new feature or functionality to be added to the project.
Projects
None yet
Development

No branches or pull requests

4 participants