.DesignMode and .EditMode classes no longer rendering in cmsdesk v7

Community Systems asked on August 10, 2016 17:31

Is there a way to turn these classes off and on? We are running Kentico V7 and at some point it seems like they have just disappeared from rendering within the CMSDesk and I can no longer use them.

Any help is greatly appreciated.

Thanks Todd

Recent Answers


Laura Frese answered on August 10, 2016 17:51

These classes will always appear so im not sure why they wouldnt be rendering for you in the CMSDesk. Are there any custom scripts that might be interfering? Are you trying to call the classes from js or css? Did you inspect the source for the body classes LTR EditMode Safari Chrome Safari52 Chrome52 ENUS ContentBody?

0 votesVote for this answer Mark as a Correct answer

Dawid Jachnik answered on August 11, 2016 08:07

Hello,

Did you modify something in /CMSPages/PortalTemplate.aspx ?

<body class="<%=BodyClass%>" <%=BodyParameters%>>

I'm talking about this line. It should be like on my code snipet

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.