How to hide context help in Kentico
This article describes how to hide the context help images and links in Kentico.
The easiest way to remove the main Context help links is to set the following css classes in the
CMSDesk.css file in
~\App_Themes\Default folder.
.HelpLink
{
visibility:hidden;
}
.HelpImage
{
visibility:hidden;
}
The context help of the settings in CMSSiteManager doesn’t have a common ID or classname so the easiest way how to hide it is to replace the following images with some 1 pixel image:
App_Themes\Default\Images\General\HelpSmall.png
App_Themes\Default\Images\General\HelpLarge.png
Or you can comment out the following code, which generates the image links in file
~\CMSSiteManager\Settings\keys.aspx.cs around line 227:
// Help image
Image helpImg = new Image();
helpImg.EnableViewState = false;
helpImg.ID = "imgHelp_" + i;
helpImg.ImageUrl = GetImageUrl("CMSModules/CMS_Settings/help.png");
helpImg.Attributes.Add("onmouseover", "Tip('" + ScriptHelper.FormatTooltipString(keyTooltip, false) + "')");
helpImg.Attributes.Add("onmouseout", "UnTip()");
plcContent.Controls.Add(helpImg);
plcContent.Controls.Add(new LiteralControl("</td><td style=\"padding: 0px 5px 0px 0px\">"));
-bp-
See also: Applies to: Kentico CMS 5.5