Center Navigation Bar?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OPrescott
    New Member
    • Feb 2018
    • 17
    • 5.3.x

    Center Navigation Bar?

    Hey there,

    after I have successfully centered my header (thanks to a couple of very helpful posts on this board), I'm looking for a way to do the same to the navigation bar. Unfortunately, I haven't found any solutions on here (or on any other sites). Is there a way to do it?

    Thanks in advance!
  • glennrocksvb
    Former vBulletin Developer
    • Mar 2011
    • 4011
    • 5.7.X

    #2
    Add this in css_additional template in AdminCP or in Sitebuilder > Style > CSS Editor:
    Code:
    .l-desktop #channel-tabbar {
        text-align: center;    
    }
    .l-desktop #channel-tabbar .channel-tabbar-list {
        float: none;
        display: inline-block;
    }

    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

    Comment

    • OPrescott
      New Member
      • Feb 2018
      • 17
      • 5.3.x

      #3
      Perfect! It works.
      I've added this as well:

      Code:
      .l-desktop #channel-subtabbar {
          text-align: center;    
      }
      .l-desktop #channel-subtabbar .channel-subtabbar-list {
          float: none;
          display: inline-block;
      }
      Thank you so much!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...