Forum Discussion

Stefan Kießig's avatar
Stefan Kießig
Copper Contributor
Jul 16, 2016
Solved

CSS Overview

Is there a overview of SharePoint online css classes?

 

Thanks for your help.

Stefan

  • Heather Solomon http://www.heathersolomon.com/ diligently updates a list of SharePoint CSS styles. But in the world of SharePoint Online, Microsoft doesn't seem to be committing to any existing styles. Instead, you should focus on Office UI Fabric's colours and use that CSS. Not only does it let you have similar colours to Office 365, it also works really well within different Office Addins and across different devices. It is similar in concept to Bootstrap. http://dev.office.com/fabric/styles Both resources are good for CSS.

6 Replies

  • Heather Solomon http://www.heathersolomon.com/ diligently updates a list of SharePoint CSS styles. But in the world of SharePoint Online, Microsoft doesn't seem to be committing to any existing styles. Instead, you should focus on Office UI Fabric's colours and use that CSS. Not only does it let you have similar colours to Office 365, it also works really well within different Office Addins and across different devices. It is similar in concept to Bootstrap. http://dev.office.com/fabric/styles Both resources are good for CSS.
    • Peter Gibbs's avatar
      Peter Gibbs
      Copper Contributor
      This is something I'm actively looking at before my organisation migrates to O365.
      Is there a best practice route for adding office fabric css to site collections or the whole instance?
      • Jared Matfess's avatar
        Jared Matfess
        MVP

        Hi Peter,

        A great way of adding custom CSS is the Alternative CSS URL for your site collection. You can find this under the Site Master Page Settings page for your site collection. This link is under Look & Feel on the site settings page. This will then be included for all page of your site collection. 

         

        Hope that helps,

        -Jared

Resources