Monday, May 12, 2014

Hide page Title in SharePoint 2013




In this post we will discuss on how to hide page Title in SharePoint 2013.

Also you can check out:

- Embed word document into SharePoint 2013 site

- SharePoint 2013 App Component

- New actions in SharePoint designer 2013 workflow: Call Web Service Action and Start workflow action

1st Approach:
Open your master page using SharePoint designer 2013 and place the below code inside the head tag.

<script type="text/javascript">
    function hidePageTitle() {
        var elem = document.getElementById('pageTitle');
        elem.style.display = 'block';
    }

_spBodyOnLoadFunctionNames.push("hidePageTitle");
</script>

2nd Approach:
You can also the 2nd approach:

Click the gear in the upper-right corner

Select Site Settings

Under Look and Feel, select Title, description, and logo

Delete the text in the Title: box


1 comments:

Anonymous said...

A little confused... What's wrong with CSS - #pageTitle{display:none}
and how does display = 'block' hide anything?

Post a Comment

Twitter Delicious Facebook Digg Favorites More