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

    GIPHY for vB5 | AutoLinker | Video Attachments Player | Last Registered Users Module | Clear System Cache Cron | Drag-n-Drop Upload | Topic AJAX AutoUpdate | Force Read Topic

    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

      Loading...
      Working...
      X