How to remove Kentico's css in page design view

Bo Fu asked on July 7, 2015 19:07

Hi,

Is there a way to remove Kentico's css in page design view. Because the Kentico's css also impact the my css. It is also happening when preview the page. Thanks

Recent Answers


Charles Matvchuk answered on July 7, 2015 19:09

@Bo, are you sure? I do not have that problem with any of my sites.

0 votesVote for this answer Mark as a Correct answer

Bo Fu answered on July 7, 2015 19:23

@Charles: Thanks for reply. Yes, it includes some Kentico's css files like "/App_Themes/Default/DesignMode.css" which also impacts the my page

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on July 7, 2015 19:34

I'd recommend to revise your css class and make sure there is no overlap with with Kentico classes in design mode. I saw similar issues several times, but they were always caused by the fact that someone implemented a class with the existing name or something like this.

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 7, 2015 21:02

I second both Charles and Roman. Implemented many sites without any issue.

0 votesVote for this answer Mark as a Correct answer

Debashis Raybiztech answered on July 13, 2015 12:12

@Bo Hi, You can write inline styles for the kentico class to override the kentico style and your site style. I also have got same problem, then asked to my designer he suggest me to write inline styles,which resolved my problem.

1 votesVote for this answer Mark as a Correct answer

Bo Fu answered on July 13, 2015 15:26

Thanks for all your replies. I accidentally used a class from Kentico's css which was the root of this problem

0 votesVote for this answer Mark as a Correct answer

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