The header_search_icon shortcode can be used to display the search icon in your header aside field when using a flex header style.

Sample Shortcode Usage
[header_search_icon]
Shortcode Attributes:
Below are the attributes accepted by the header_search_icon shortcode:
Attribute | Description | Default |
---|---|---|
class | custom classes to add to the element | – |
label_class | custom classes to add to the label | – |
button_class | custom classes to add to the button | – |
icon_class | custom classes to add to the icon | – |
visibility | custom visibility | – |
label | custom label | – |
label_margin | label margin | 10px |
label_position | label position (right or left) | right |
label_hide_breakpoint | breakpoint to hide the label on smaller screens (sm,md,lg,xl) | – |
aria_label | custom aria label attribute for accessibility | Search |