Home >Tips > SharePoint Online from Scratch > Content Editor CSS link kalmstrom.com site map icon Site map  

Use a CSS Link in the Content Editor Web Part

A SharePoint Online tutorial by Peter Kalmström

SharePoint iconIn the previous demo Peter Kalmström, CEO and Systems Designer of kalmstrom.com Business Solutions, showed how to use CSS in the HTML source of the Content Editor web part.

In the demo below Peter shows another way to use CSS with the Content Editor web part: to add a link to a text file with the CSS code in the Site Assets library. This method is quicker to change, as you don't have to open the page in edit mode and open the source. Instead you can make the change directly in the CSS text file.
  1. Add the CSS code to a .txt or .css file and upload it to the Site Assets library.
  2. Add a Content Editor web part to the page.
  3. Edit the web part and type the path to the CSS file.
  4. Apply and save the page.






Learn more


---------------------------------------------------------------------------------------






Always the latest news in the kalmstrom.com blog



Follow kalmstrom.com on LinkedIn Facebook, Google+  or Twitter!

back icon next icon