Forum Discussion
Stefan Kießig
Jul 16, 2016Copper Contributor
CSS Overview
Is there a overview of SharePoint online css classes? Thanks for your help. Stefan
- Jul 16, 2016Heather 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.
John Liu
Jul 16, 2016MVP
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 GibbsJul 16, 2016Copper ContributorThis 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?- Jul 17, 2016
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
- Stefan KießigJul 19, 2016Copper Contributor
This works only when the publishing featureas are aktivate.