I've been experimenting with various approaches to implement custom CSS on our SharePoint Online site, but unfortunately, none have been successful. Here is a summary of what I've attempted:
- Created a custom master page using the Seattle template and referenced the CSS under corev15.css as shown below:
<!--SPM:<SharePoint:CssRegistration Name="https://oursharepointsite.com/sites/new/SiteAssets/CSS/Custom.css?v=3" runat="server" After="corev15.css"/>-->
- Tested different locations for the custom.css file, such as the Style Library folder.
- Attempted using an alternate URL for CSS.
- Added "!important" to all rules in the CSS file (although I am aware this is not recommended).
- Inserted web parts onto a page and tried incorporating CSS there (via Script Editor), but saw no results. I even experimented with applying styling using JavaScript, yet still no impact. Even when I added custom buttons and paragraphs with specific ID's and classes, I was unable to style them as intended.
- Logged in as a Global Administrator and made changes as indicated above.
The only method that seems to work is inline styling, which is clearly not practical. Despite scouring multiple forums, I have yet to find a solution to my issue.