SharePoint Online Customization Development: How to update Stylesheet?

https://blog.51cto.com/13969817

Previous We describe how to use CSS to change the background color theme of the site, this article will introduce you about how to update the Stylesheet, we start from the Site Settings page, because a lot of change becomes very obvious in this page, note: not all super access defaults link are black, we will change the color of the entire site anchored links, anchor elements are the letters a, open the file for editing CSS, attributes that we want to change is the color, such as changing the hexadecimal digits FF0000, it is red.
SharePoint Online Customization Development: How to update Stylesheet?

Sample code:

a {
color: #FF0000
}

Save modified_style.css, now let's see what it looks like the site? Most of the links on the page are red, for already visited link color is different.

SharePoint Online Customization Development: How to update Stylesheet?

If you change the effect is not visible, you need to check the following:

  • Code is accurate
  • Whether to keep the website page refresh state
  • Site Master Page to check whether the CSS style sheet
  • If you are Edge or IE and other browsers, please clear your browser's cache.

SharePoint Online Customization Development: How to update Stylesheet?

Guess you like

Origin blog.51cto.com/13969817/2450304