Detecting Edit Mode
How would I go about detecting, in the master page, if a page was in edit mode? And if it were in edit mode, how would I apply alternate css? The issue I have is that an attribute I need in the css of the site to achieve the client's design is causing some issues in edit mode. I would just like to detect at the master page level if the content page is in edit mode, and if so, apply alternate css.
Thanks in advance,
Ok, so I know how to detect if in edit mode, I just am not sure of how to apply alternate css.
You could use the following code snippet in the <head> section of your .master file:
You`ll need to do this: