Alignment Formatting

Permalink Browser Info Environment
Hey JB, is there a recommended method for setting the entire menu to center wihin the nav div? (so that if you don't have enough level 1 pages to fill the width of the area, leaving a big empty space on the right hand side?)

Would be a nice addition in future versions to have a checkbox in the C5 UI to do this (or several - align:left, right, center etc)

Type: Discussion
Status: New
PatrickCassidy
View Replies: View Best Answer
jb1 replied on at Permalink Best Answer Reply
jb1
Hi Pat,
In the world of CSS/HTML there is no built in support for floating elements to te centre (as opposed to centred text). The workaround is to apply padding to an element to give the same impression.
If you do this globally for each submenu it wont really work, but mega menu does give every submenu element a unique class so you can actually do just that if you know a little CSS.

If you get stuck let me know.

JB
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
Cheers for that ;)
jb1 replied on at Permalink Reply
jb1
happy to help :-)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.