Академический Документы
Профессиональный Документы
Культура Документы
com/billing/knowledgebase/237/How-to-create-and-change-the-master-page-
via-SharePoint-Designer.html
In most cases, your site’s logo is the corporate logo and should always be visible for every site and
page.
The manual way of changing it is to click on Site Actions ➤ Site Settings ➤ Title and description ➤
Type
190
in URL path to the logo ➤ Click on Ok. You could create some script to do this through code but
why
waste all of that time when you can just do it with CSS. The first step is to create your logo and
optimize
it for the web. It should be saved as a GIF, JPG, or PNG file. Once you have created the image,
depending
on your implementation method, upload the file to where all users have read access. Then simply
update the following CSS in Listing 8-9 with your own path and logo name. You also need to
change the
.s4-titlelogo{
background-image: url(/_layouts/images/centraladmin_security_48x48.png);
background-position:left center;
background-repeat: no-repeat;
visibility: hidden;
width: 48px;
height: 48px;
}
If you used the example CSS in Listing 8-8 as is you will see that the site logo has changed from the
The next tip is used quite frequently to hide the left-side navigation and provide a full space for
the
The Quick Launch side navigation is contained within a DIV tag that is set to float to the left side of
the content area. To hide the Quick Launch, you just need a few lines of custom CSS, as shown in
Listing 8-10.
191
#s4-leftpanel{
display: none;
.s4-ca{
margin-left: 0px;
The first CSS property sets the Quick Launch or left panel to not display. But if you used that as
your
only CSS there would be a large blank spot where the Quick Launch was. This is because the s4-ca
class
has a margin set to the left of 155px. If you change the margin to “0px”, it will take up the whole
content
You can use another quick tip to reduce the size of the social tags. This requires some
modifications