While working on SharePoint 2013 and Office 365 sites, most of our clients request there home page to not have a top navigation as in they want only the main content on their home page.
In those cases I don’t want you to take a lot of time and write a code to hide those files. Just do the following steps.
- Edit the page you want to remove the Top navigation.
- Add a Script Editor web part.
- Paste the following code.
Code:
- <style type="text/css">
- #s4-titlerow
- {
- display:none;
- }
- </style>
- Your top navigation will be gone.
Keep learning! Cheers !