Adding custom CSS into Page Layout
just creating some small reminder that if you wanted to add some custom CSS file into the page layout (or custom Masterpage)
find the : PlaceHolderAdditionalPageHead
and add
Option 1:
<asp:Content ContentPlaceholderID=”PlaceHolderAdditionalPageHead” runat=”server”> <link id=”Link1″ href=”<% $SPUrl:~SiteCollection/Style Library/mystyle.css%>” runat=”server” type=”text/css” rel=”stylesheet” />
</asp:Content>
Option 2:
if it does not exit type it in : (copy and paste could work to)
<asp:Content ContentPlaceHolderID=”PlaceHolderAdditionalPageHead” runat=”server”>
<link rel=”stylesheet” type=”text/css” href=”http://mySharePoint/Styles/mystyle.css”/>
</asp:Content>