1

I have created a custom master page a page layout that references a custom CSS file.

Problem:

A problem I'm running into is that the page will load the CSS only when you are in edit mode; however, when you click save, the page returns to normal display mode and the CSS goes away.

What could I do to fix this?

3
0

Is your css in layout placed within PlaceHolderAdditionalPageHead placeholder in your Page Layout?

e.g.

<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">
    <link href="/Style Library/css/????.css" rel="stylesheet">
</asp:ContentPlaceHolder>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.