1602 1535 bas.jacobs
Blog Posts
SharePoint 2013 hide "Site Contents" in Quick Launch

This is actually rather easy using the title attribute selector:
#sideNavBox .ms-core-listMenu-item[title=”Site Contents”] { display: none; }

Or even target all elements with the matching href in the sideNavBox container:
#sideNavBox .ms-core-listMenu-item[href$=”/_layouts/15/viewlsts.aspx”] { display: none; }

image

Comments - One Response to “SharePoint 2013 hide "Site Contents" in Quick Launch”

  1. Sam says:

    #sideNavBox .ms-core-listMenu-item[title=”Site Contents”] { display: none; }

    Does not work in 2013, I can get

    #sideNavBox .ms-core-listMenu-item[href$=”/_layouts/15/viewlsts.aspx”] { display: none; }

    to work, but all I want to do is using CSS make the Site Contents font color different from the other headings.

Leave a Reply




HTML5 Accepted Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>