Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'm trying to get the menu in the top bar to be center aligned. I can force it by adding
.top-bar-section ul { margin-left: 10px; }
but this makes the drop-downs out of whack, and is tied to font size etc. Auto margin doesn't work:
.top-bar-section ul { margin: 0 auto; }
Can anybody suggest the best way to implement this?
Comments
Comment #1
chrisjlee CreditAttribution: chrisjlee commentedIf you review the settings and review the kitchen sink you can add classes to topbar.
Closing for now.
Comment #2
nyl_auster CreditAttribution: nyl_auster commentedtry this ?
http://foundation.zurb.com/forum/posts/551-how-to-topbar-li-centered
Comment #3
tripper54 CreditAttribution: tripper54 commentedThanks for the tips.