Design and CSS styles
Version 3.x > Design and CSS styles > Want to remove the body class (<body class="LTR Gecko3 ENUS") View modes: 
User avatar
Member
Member
rajanm99-gmail - 10/19/2008 9:27:06 AM
   
Want to remove the body class (<body class="LTR Gecko3 ENUS")
I am a trial user for the past few days.
My master template has yahoo YUI, I do not want Kentico to render anything in the Body tag. With the following tag "<body class="LTR Gecko3 ENUS"" my yahoo user interface is not working!

Anybody can suggest how to stop the LTR Gecko3 or IE not to appear in pages.

THanks

Andrew

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/20/2008 8:35:18 AM
   
RE:Want to remove the body class (<body class="LTR Gecko3 ENUS")
Hi Andrew,

we do not recommend this but if you need to remove the class you could find a file ~/App_Code/CMSPages/DocumentBase.cs

and change lines about 311-321 to:

public string BodyClass
{
get
{
return null;//CMSContext.CurrentBodyClass;
}
set
{
CMSContext.CurrentBodyClass = null;// value;
}
}

Best regards,
Helena Grulichova