Reputation: 505
I am wondering how can I get rid of the header based on the file name in SharePoint 2013. It really ruins the whole layout after moving to SharePoint 2013...
The Actual thing I want to remove: https://i.sstatic.net/N0lRU.png
Upvotes: 1
Views: 59247
Reputation: 123
Using Below CSS Code You can remove Page or site tile Title.
< style type="text/css">
{
display:none;
}
</style>
Upvotes: -4
Reputation: 104
Open SharePoint Management Shell and run the following commands :
$webApp = get-spwebApplication "http://spwebappurl"
$webApp.SuiteBarBrandingElementHtml = "<div class='ms-core-brandingText'>My Intranet Title</div>"
$webApp.Update()
Upvotes: 0
Reputation: 838
Add the below lines in page layout just above Publishing:EditModePanel tag.
<script type="text/javascript">
function hidePageTitle() {
var elem = document.getElementById('pageContentTitle');
elem.style.display = 'none';
}
_spBodyOnLoadFunctionNames.push("hidePageTitle");
</script>
Upvotes: 1
Reputation: 600
Approach 1 (Works for all pages , however your site will not have a Title, the links will be not be having user friendly name in site navigation ! ) - Personally not recommended
Approach 2 ( Works on only the page you want the title to be hidden)
< style>
#DeltaPlaceHolderPageTitleInTitleArea {
display: none;
}
< /style>
Upvotes: 4