Sitefinity ASP.NET CMS - Content Management System

KB Article

Home >  Support >  Knowledge Base >  KB Article
How to add my company logo to a Sitefinity page - ID#1079
Rating: Not rated
Last Modified: 8/11/2008
Related categories: Appearance;

Article information

Article relates to

 Sitefinity 3.x

Created by

 Rebecca



I. To add your company logo to a Sitefinity public page
, you need to edit the corresponding .master file:

    1. Launch Microsoft Visual Studio 2005/2008.
    2. Open your web site.
    3. In the Solution Explorer, expand the App_Master folder and open your master page.
    4. Modify the master page in the required way:

.master
...    
<form id="form1" runat="server"
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
     <div> 
        <img id="logo" runat="server" src="~/Images/logo.png" alt="Company Logo" /> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"></asp:ContentPlaceHolder> 
     </div> 
... 

    5. Save the master page.
For more information on working with master pages and templates, refer to the User Manual > Working with Page Templates.


II. To use your company logo in the Sitefinity administration, you should modify the following CSS class that can be found in ~/Sitefinity/Admin/Themes/Default/global1.css file:

.topBar h1.projectName 
  font-size:18px
  line-height:42px
  color:#fff
  padding:4px 117px 0px 130px
  backgroundtransparent url('Images/SiteFinityLogo.gif') -10px 0 no-repeat 


Article Comments

There are no comments yet.
Please Sign In to rate this article or to add it to your favorites.