What I am doing is to set the Home.aspx as the Homepage for my TeamSite. I've added a Web Part as Script Editor and put the jQuery script as below to remove or hide the left menu and the Home. However, whenever I click on the Logo, the link has been changed to a path /_layouts/15/start.aspx#/
, the menu still appears. Please give me some advice to address my problem.
- Did I work in the right way?
- Is it impossible to make a Home.aspx as a Home page?
- How can I change the link in the Logo when I click on that?
<script>
$(document).ready(function(){
$("#sideNavBox").remove();
$("#DeltaPlaceHolderMain .s4-die").remove();
$("#pageTitle").remove();
});
</script>