Removed nav bar



  • Hi,

    Does anyone know how I can remove the navigation bar?
    Thank you!



  • You can use this in your custom CSS tab.

    #main-nav {
       display: none;
    }
    


  • @baris said in Removed nav bar:

    You can use this in your custom CSS tab.

    #main-nav {
       display: none;
    }
    

    is it possible to remove one navigation icon for desktop only, but it will be visible on mobile (on the sandwich menu)?

    When logo is wide, then number of icons becomes important on desktop or ipad view. There are some bugs in nodebb when navigation icons overflow to the second line. To be able to see the title of the topic, sometimes you have to refresh the page, otherwise it is not visible.

    What would be the best way to solve this problem? Additionally, forcing navigation bar to stay as one line is aesthetically more pleasing, otherwise there is a meaningless empty space...

    On mobile it is fine, because it is on the sandwich menu anyway, so it does not affect the overall appearance.

    I tried this, but did not work:

    .main-nav a[title="Groups"] {
      display: none;
    }
    

Log in to reply
 

Suggested Topics

  • 3
  • 3
  • 4
  • 3
  • 2
| |