I have created a custom masterpage HTML page as well as several custom stylesheets for a site in SharePoint online. I have attempted to reference my stylesheets in the HTML page but my styles are not being picked up in the browser. I have tried to reference the css using the following formats within the head tag, none have worked.
<!--SPM:<SharePoint:CssRegistration ID="Custom" Name="$SPUrl:~SiteCollection/SiteAssets/search/css/custom.css%" runat="server" After="Themable/corev15.css"/>-->
<!--SPM:<SharePoint:CssRegistration ID="Custom" Name="https://dynamiconline.sharepoint.com/sites/search/SiteAssets/MarvinSearch/css/custom.css" runat="server" After="Themable/corev15.css"/>-->
<link href="https://dynamiconline.sharepoint.com/sites/search/SiteAssets/MarvinSearch/css/custom.css" rel="stylesheet" type="text/css">
Hoping someone can point me in the right direction on how I need to format these correctly so my styles will actually come through. Any assistance is appreciated.
<link ...>
) again but add the closing slash to the end. ie<link href="/sites/search/SiteAssets/MarvinSearch/css/custom.css" rel="stylesheet" type="text/css" />
. The masterfile may be looking for a closing tag that isn't there.