SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The question says it already. I need to find a way to customize the edit view of a sharepoint page. I mean the view that you get when you're on a page and click "Edit". Are there any options to style/customize the code without affecting how the page looks if it's NOT in edit mode?

Thank you very much!

share|improve this question
up vote 1 down vote accepted

In the pagelayouts PlaceHolderAdditionalPageHead placeholder, you can place the PublishingWebControls:editmodepanel control, in which you can place a reference to a CSS which will change the look of the page while in Edit mode.


<PublishingWebControls:EditModePanel runat="server">
    <!-- Styles for edit mode only-->
    <SharePointWebControls:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/edit-mode-21.css %>"
    After="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/page-layouts-21.css %>" runat="server"/>

Hope this helps :)

share|improve this answer

It would also depend on what tools you have access to. If you have SharePoint Designer or if the solution was created in Visual Studio. You could also add a Content Editor Web Part to the page to add the styles you wanted. So yes, there are many ways this could be done depending on your toolset and comfort level.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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