Hide Search Box And Recent Items In Community Pages.

box and Recent Items are sometimes giving access to some unwanted records. Here is a work around to hide then.

Make a HTML file and following JQuery to hide left panel.

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js” type=”text/javascript”>

/* Hide the search box and recent items */

var j$ = jQuery.noConflict();

j$(document).ready(function(){

j$(“#sidebarCell”).hide();

j$(“.sidebarCell”).hide();

});

</script>

Add this file into documents.

Then Add this in Footer of Community.

Leave a Reply

Your email address will not be published. Required fields are marked *