none
how to hide quick launch and adjust width

    Question

  • Hi,

    I want to hide quick launch. from site setting unchecked quick launch but site content still shown on page than i tried to use style sheet using script editor.

    below code i used:

    <style type="text/css">
    #sideNavBox
    {
      width:50px;
    }

    /*Middle Content */
    #contentbox{
    margin-left: 60px;
    }

    </style> 

      problem is that quick launch column width get reduce but middle area does not adjust its remain on its position. kindly guide how can reduce the quick launch width and increase width of center column.

    thanks


    iffi

    Saturday, September 10, 2016 7:45 PM

All replies

  • Hi imughal,

    The ID is “contentBox”, not “contentbox”.

    To hide the Quick Launch, you could try the following script:

    Best regards,

    Linda Zhang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, September 12, 2016 2:13 AM