Forum Discussion

MichelLAPLANE's avatar
Jun 16, 2019

Hiding NavBar (orQuickLaunch) in Modern page.

Hi, I wanted to hide the QuickLaunch Bar when displaying my React WebPart.   I succeed in removing it with this code when in the DidMount or DidUpdate :       let navBar = document.getEleme...
  • Thomas Berman's avatar
    Thomas Berman
    Jun 18, 2019

    MichelLAPLANE 

     

    You can hide the Quick Lauch (left side navigation) via site settings > navigation elements > uncheck "Enable quick launch"

     

    As for the top bar, you can delete all the links in there, but hiding via CSS/JS is definitely not advisable.

Resources