[search_form]
Displays a search form.
Attributes: | |
---|---|
icon |
Specifies an search icon. For a complete list of icons, see Font Icons. |
iconset |
Specifies the icon set that contains the search icon (see icon above).
If no icon set is specified, the theme automatically tries to find an icon set that contains the icon. For the supported icon sets, see Font Icons. |
icon_color |
Color of the search icon. For the supported values, see CSS color property. The icon_color_type attribute must be set to 'custom' for this attribute. |
icon_color_type |
The color type of the search icon ( auto | custom ). Default: auto.
|
placeholder |
Specify the text to be displayed in the search input when it is empty.
A placeholder is mostly a short hint that describes the expected value (e.g. a sample value or a short description).
The placeholder disappears when the field gets focus.
In addition, it is also possible to customize the look of the placeholder text. A CSS class named "placeholder" is added to the search field when the placeholder is displayed. For example, if you want to display the placeholder in red, just insert this into the style.css file of your child theme: .placeholder {color: red !Important;}
|