This post is over a year old, some of this information may be out of date.
Footers and SharePoint that was the starting point of this blog. Back in August 2010, I blogged about how to create a sticky footer for your SharePoint 2010 sites (blog post can be found here and here). Now it is time to upgrade this sticky footer solution to SharePoint 2013.
For this sticky footer solution you will only need to add some HTML and CSS markup to the master page html file.
If you used my solution from 2010, you will see that not much has changed.
Adding the HMTL Footer markup to the master page
- Open the master page its HTML file in your favorite text editor (in this example I will use the seattle.html file);
- Do a search for the s4-workspace DIV, and add a new wrapper DIV underneath it;
- Go straight to the bottom of the HTML file and find the last DIV closing tag;
- Replace the DIV’s closing tag with the following code:
- Save the file
Styling your footer
Now that you’ve added your HTML markup to the master page HTML file, we only need to style the footer.
The CSS markup looks like this:
I paced this CSS code for testing purposes in the following location:
Sticky Footer Result
The result looks like this: