Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

hide Left navigation for single page via content editor

$
0
0

Hi I have a very strange issue that if I want to hide left navigation  only one page, I have to apply the script below. However it doesn't  apply at all.

Currently I set the custom CSS applied to all sites and subsites from settings -> masterpage -> alternate CSS.

Do you think if I add content editor on the page with the below code should override everything? It doesn't hide at all.

<style type="text/css">
#sideNavBox { display: none; }
#contentBox { margin-left: 20px; }
</style>

I also tried treeview and remove quick launch but there is still site content appears. If I modify the master page, it will remove everywere. Any other tips to hide left navigation completely for one particular page?

Thanks

Shri


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>