ShareBoot – Responsive SharePoint 2013 Theme
Since the first release of Bootstrap a couple of years ago, I’ve been very keen to port it to SharePoint but too reluctant to do it on SharePoint 2010 due to countless design flaws, but once I had SharePoint 2013 ready to play there was nothing to stop me. And here it is, ShareBoot theme, a very clean and sleek responsive SharePoint 2013 theme powered by the most popular front-end toolkit for rapidly developing web applications.
But what is Bootstrap? Bootstrap is an open-source JavaScript framework developed by a bunch of Twitter geeks. It is a mixture of HTML/HTML5, CSS/CSS3, and JavaScript code and its purpose is to help web developers build responsive websites and web applications.
ShareBoot theme is designed to help you kickstart the development of a proper responsive SharePoint 2013 theme and to help you discover the workaround of a modern, intuitive, and powerful mobile first front-end framework. ShareBoot theme is not a “ready to go live” theme. More branding customization is required from you.
Installation
Download the ShareBoot.zip file and extract the files.
Go to “Site Settings” and under “Web Designer Galleries” area click on “Master pages and page layouts”. Create a new folder called ShareBoot. Of course you could call it whatever you like, which I don’t recommend until you’re familiar with the theme because you’ll have to change all the reference links in the theme, but for the purpose of this tutorial I will refer to as ShareBoot folder.
Inside ShareBoot folder create four folders called: css, images, fonts and js. Next, upload the necessary files provided in the ShareBoot package.
As you could see, there is another folder called html, which hold just the dummy content. Do not upload these files.
First, upload the main CSS file, ShareBoot.css under the newly created css folder. Click on the Files tab on the ribbon, and click “Upload Document”. On the pop-up window make sure you select “Design File” for the Content Type and hit Save button.
Same rules for all the design files (css, images, fonts and js).
Make sure you publish each updated design file by selecting from the drop-down menu “Publish a Major Version”.
Next, upload ShareBoot.master right under ShareBoot folder by selecting Files tab on the ribbon and then “Upload Document”. On the pop-up window make sure you select “ASP NET Master Page” for the Content Type, give your master page a name and a title, select version 15 and hit Save button.
Now, you need to upload the four page layouts provided in the ShareBoot package. (ShareBoot-Home.aspx, ShareBoot-Main.aspx, ShareBoot-Contact.aspx and ShareBoot-LeftNav.aspx)
Make sure you’re under ShareBoot folder, click on the Files tab on the ribbon, and click “Upload Document”. On the pop-up window select “Page Layout” Content Type, give your page layout a name and a title. For the Associated Content Type select “Page Layout Content Types” for the Group and “Article Page” for Content Type Name. Do the same for all four of them. After uploading all the files make sure you publish them!
Once all ShareBoot files were uploaded and published, go to your site and click on Settings >> “Site Settings” from the drop-down menu.
On the “Site Settings” page click on “Master page” link under “Look and Feel”. Once on the “Site Master Page Settings” make sure you have ShareBoot master page selected as Default and click OK. I don’t recommend changing the System Master Page, just leave the default on.
Next, go back to Site Settings and under “Look and Feel” click “Page layouts and site templates” and add all ShareBoot page layouts as preferred page layouts. See screenshot below.
Select “ShareBoot Main” as your new page layout default and hit OK.
To assign ShareBoot page layouts edit the page and from the “Page Layout” option under Page tab select the necessary page layout.
For home page select “ShareBoot Home”. For Contact page select “ShareBoot Contact”. For all other pages select “ShareBoot Main”.
NEW! The new version of ShareBoot theme has been updated with an extra page layout to include left navigation (ShareBoot-LeftNav.aspx).
To modify home page dummy content you need to play with the ShareBoot-Home.aspx page layout. As I mentioned before, ShareBoot theme is designed to help you get started with SharePoint 2013 branding. If you want to polish this theme you need to spend a bit more time on it.
Also included in the ShareBoot.zip package an optional “html” folder where you will find the HTML code used as dummy content for the mock-up pages.
If you want to see what I used for testing the theme and play with some Bootstrap features, just copy the HTML code and paste it in to the necessary content editor web part.
If you like the theme don’t forget to share or leave a comment and if you would like to show your appreciation a beer would do me nicely! Thank you and stay tuned for more SharePoint branding goodies!
How do you edit your items to place my content in the slider etc.
Peter, for testing purposes, the slider is embedded on ShareBoot.master. It’s up to you how you would like to customize it.
I have a sandbox 2013 site for testing and am following your instructions but I am not seeing the same things in your screenshots. For instance, after I upload ShareBoot.css the window I see does not have a “Content File” field. Also, when I click the drop-down button by the file, there is no “Publish a Major Version”. Yes, this is Sharepoint 2013. I would be happy to send screenshots to illustrate what I mean. Now what?
Claudia, are you sure your site is a SharePoint 2013 Publishing Site? Maybe you don’t have full rights to the site?
Hi great demo – for reverence purposes would it be possible to include the source html for the master page and the layout pages.
Daniel, the source html is included in the html folder. “Also included in the ShareBoot.zip package an optional “html” folder where you will find the HTML code used as dummy content for the mock-up pages.”
Hi,
Thanks for the ShareBoot Theme, I was trying to center the main content, is there a main wrapper or main content div?
Thanks
First off, this is great! Perfect starter for us to use on a project. One thing I cannot figure out is how to get the Web Part Properties box to show up on the page. The CSS must have it on the side of the page but I can only get to it if I tab over. Then I changed the z-index so it wouldn’t be hidden by the nav bar, but no dice. Any suggestions?
Zach, I found the issue with the Web Part Properties box. Someone at Microsoft thought would be a great idea to wrap the main content in a Table (!?!) and add an extra right column for Web Part Properties box! So to fix this issue apply these two CSS lines to your ShareBoot.css. I’ve updated the ShareBoot.zip package as well:
.ms-ToolPaneOuter {position:fixed;bottom:10px;right:35px; z-index:100 !important;}
.ms-ToolPaneBody {overflow:auto !important;max-height:100%; z-index:100 !important;}
What this trick would do? It would force the Web Part Properties box to sit at the bottom as long you’re using it. Cheers!
For content search/content query boxes this doesn’t work that well. As you expand categories the properties box gets so long you can’t get to all of the properties so you can only have one set open at a time. When I realized how it was behaving I tried fixing it to the top but then the bottom gets cut off…so no save or cancel button. I can’t get it to scroll either, so we’re just cut off on certain settings and have to collapse categories one at a time in order to get to the top options again.
So, the problem is that I am now using team-site. There is no Page Layout available. How to deal with this case?
Thanks already in advance.
Jeremy, ShareBoot Theme only works on SharePoint 2013 Publishing Sites. Not teamsites.
From the outset, thanks Luis for this theme. I just need help changing the top dark gray or black navbar. I have checked the ShareBoot.master file along with the associated CSS files and I cannot locate the class that controls the colour of the top dark gray or black navbar.Any help will be appreciated. Thanks in advance.
The .navbar-inverse class in bootstrap.css controls the color of the navbar.
Luis, you are a life saver! that worked. Thank you!!
Will this theme work with SharePoint online? I haven’t seen anything that would make me think it wouldn’t, but its not working at first couple try’s for me. Its not picking up the CSS
I will answer my own question for anyone else out there…I had to change the relative URLs in the master page to be absolute URLs for the CSS registration.
You can use tokens
Replace
with