Tag: Branding
SharePoint 2010 Mysite Contact Card Customisation
Requirement Customise the Mysite contact card section and display custom fields outside of the ‘More information’ drop drop down. Solution You need to modify the persons.aspx page on the Mysite root. In my case, I took a backup of person.aspx, called it person2.aspx and did tested my customisations first. Once I was happy with it, […]
Continue Reading...Branding: Adding a sticky footer to your SharePoint site
You will to do the following: Modify the CSS styles applied to your masterpage / sharepoint site. Modify the masterpage to apply the custom footer. Add the following code to your CSS. /* Sticky Footer Solution by Steve Hatcher http://stever.ca http://www.cssstickyfooter.com */ * {margin:0;padding:0;} /* must declare 0 margins on everything, also for main […]
Continue Reading...Branding: Relative URLS in SharePoint Masterpage
The scenario You have a bunch of CSS files stored in the Styles Library ofa site collection. Your masterpage references the CSS files in the style library using the following code: <SharePoint:CSSRegistration name=”Style Library/myCSS.css” After=”corev4.css runat=”server”/> Everything works fine so you decide to deploy the branding files to another site collection. After applying the new […]
Continue Reading...Adding a favicon
Requirement Change the default sharepoint favicon Solution Open the masterpage and look for the following line: <SharePoint:SPShortcutIcon ID=”SPShortcutIcon1″ runat=”server” IconUrl=”/_layouts/images/favicon.ico”/> Change the IconUrl path to the location of your new icon.
Continue Reading...Branding with site collection feature
Requirement We wanted a clean way of deploying masterpages, CSS, images and other branding files cleanly and easily to multiple site collections without the need to modify the files in each site collection whenever something changes. Solution We used a branding feature that copied the branding files, switched the masterpages, set the logo and favicon, […]
Continue Reading...