Announcement

Collapse
No announcement yet.

Center Navigation Bar?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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;
    }

    AutoLinker-vB5+vBCloud | Topic Starter Ribbon | Blur Replies for Guests | NavMenu Dropdown-vB5+vBCloud | TimedSticky | Events Module | Moderator List | Drag/Drop Upload

    Comment


    • #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

      Working...
      X