Kentico CMS 7.0 Controls

Appearance and styling

Appearance and styling

Previous topic Next topic Mail us feedback on this topic!  

Appearance and styling

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The appearance of the CMSSearchDialog control is determined by the CSS classes it uses and by some of its properties.

 

You can use the following CSS classes to modify the design of the control:

 

Class Name

Description

CMSSearchDialogSearchButton

CSS class of the search button.

CMSSearchDialogSearchForLabel

CSS class of the "Search for:" label.

CMSSearchDialogSearchForTextBox

CSS class of the search expression text box.

CMSSearchDialogSearchModeDropDownList

CSS class of the search mode drop down list.

CMSSearchDialogSearchModeLabel

CSS class of the "Search mode:" label.

CMSSearchDialogSearchScopeDropDownList

CSS class of the search scope drop down list.

CMSSearchDialogSearchScopeLabel

CSS class of the "Search Scope:" label.

 

The recommended place to define these classes is in a stylesheet in the Kentico CMS administration interface at Site Manager -> Development -> CSS stylesheets. These stylesheets can be applied to individual documents (pages) that contain the control in CMS Desk -> Content -> Edit -> Properties -> General -> CSS stylesheet.

 

The design can also be modified in your code behind files by configuring individual controls contained in the CMSSearchDialog. The properties that can be used to access them are listed in the Configuration topic.