I am using SharePoint 2013 Foundation and SharePoint Designer. I have a site collection with a subsite that contains wiki pages. I'm trying to change some of the styles on the wiki pages (like header margins, font sizes, etc.) using a CSS file, but I can't for the life of me figure out how to get the CSS file referenced to in the master file.
The root site is using the seattle theme, while my subsite is using the oslo theme. I'm not sure if this effects where I need to put the CSS reference.
I've already done tons of research on this, and I've found that the SPURL tags don't work for foundation, so I need a workaround.
This is what I'm currently using in the seattle.master file:
<SharePoint:CssRegistration Name="Themable/corev15.css" runat="server" />
<SharePoint:CssRegistration Name="/Style Library/Custom.css" After="corev15.css" runat="server" />
</head>
And I have this in the Oslo.master file, though I've tried the same thing in just one and the other:
<SharePoint:CssRegistration Name="Themable/oslo.css" runat="server" EnableCssTheming="true" />
<SharePoint:CssRegistration Name="/Style Library/Custom.css" After="corev15.css" runat="server" />
Here's the CSS I'm using in my Custom.css file:
h1.ms-rteElement-H1 {
color: #000000;
}
The header insists on staying blue.