Forum Discussion
Deleted
May 03, 2019Can I use Office UI Fabric on classic wiki pages?
Hi, our intranet is still based on classic not modern but I was wondering how much of the modern design elements, such as Office UI Fabric or Bootstrap, HTML5 etc. I can use to create a nice looking...
- May 03, 2019Hi Florian,
Yep, you should be able to use also Office UI Fabric and/or bootstrap in classic sites
May 03, 2019
Hi Florian,
Yep, you should be able to use also Office UI Fabric and/or bootstrap in classic sites
Yep, you should be able to use also Office UI Fabric and/or bootstrap in classic sites
Paul Ewert
Jan 08, 2020Copper Contributor
jcgonzalezmartin, gflory... We use Fabric UI on some of our Classic pages, but there's a trick to be aware of: Microsoft has some JS which runs on classic pages which hunts down and removes link elements in the document with an href containing "fabric.min.css". This code is presently found in https://spoprod-a.akamaihd.net/files/sp-client/sp-classic-page-assembly_en-us_8b406f9bcb2f34f60515e941d0bdcfb3.js. It's in a function called "removeFabricLinks". Thus, to load the Fabric UI CSS, you must not call it "fabric.min.css" in your link tag. We simply renamed the CSS file and load it from our own source.