How to hide the Site-Name from the Header


To  hide the Site-Name from the Header open your default masterpage in SPD, let’s say v4.master.

Then look for:

<h1 name="onetidProjectPropertyTitle">
      <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
      <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>
      </asp:ContentPlaceHolder>
</h1>

and just add Visible=”False” to the Content SiteName Placeholder

, so it becomes:

<h1 name="onetidProjectPropertyTitle">
      <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server" Visible="False">
      <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>
      </asp:ContentPlaceHolder>
</h1>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: