CSS and design tab

Mateusz Żebrowski asked on March 5, 2015 08:55

I've added css stylesheet to my site. The problem is that when I go to CMS Desk and click design tab it looks weird. Can I add some CSS rules which are applies only for design tab?

Correct Answer

Reza Zareian Fard answered on March 5, 2015 09:23

You can use EditMode and DesignMode classes which are adding to body tag, see the link below which is about similar question:

http://devnet.kentico.com/forums/f49/fp2/t12505/apply-stylesheet-to-site-without-affecting-editor

0 votesVote for this answer Unmark Correct answer

Recent Answers


Charles Matvchuk answered on March 5, 2015 15:29

You can see some examples as well and the syntax in the Kentico supplied templates style sheets.

0 votesVote for this answer Mark as a Correct answer

Gena Dickinson answered on January 12, 2016 19:00

Seem to have lost these classes in version9- any workarounds?

0 votesVote for this answer Mark as a Correct answer

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