Advanced Search widget for Elementor

The Search widget for Elementor is an advanced search form for WordPress that makes it easy and quick for anyone to find specific information. It allows searching throughout the content of the site or separately on pages, posts, WooCommerce products or other post types.

For further work, you need Elementor to be installed on your site. You can download it from wordpress.org

Open or create a page using Elementor and drag the widget to a page using the Elementor editor to start customizing. In the left pane of the editors, you can customize the widget to the style of your site. Each of the tabs presented a specific group of settings:

Content Tab

In the Content section, you can manage basic settings of the Search widget such as types of posts, request type, search button and label, etc.

General

  • Alignment – manage the current button alignment (left, center, right).
  • Placeholder – enter the placeholder text for the search field.
  • Request type – select one of the available search request types: Asynchronous or Regular. Asynchronous type displays the results already in the process of typing. For this type, additional settings are available to specify the number of results on typing, the delay in displaying the result, and text editing for an empty result. The Regular type starts searching after entering a query and displays the results on a separate page. 
  • Show search button – the toggle to enable/disable the search button display.
  • Search post types – select the post types that will be included in the search.
General settings of the Search widget

Search button

  • Search button content – text field for entering the button caption.
  • Search button position – select the button position relative to the search bar: Left, Right, Above left, Above center, Above right, Under left, Under center, Under right, Inside.
  • Show search button icon – the toggle to enable/disable the search button icon display. If the option is enabled it allows you to select an icon from the Font Awesome library and specify the icon position: Left, Right, Top left, Top center, Top right, Bottom left, Bottom center,Bottom right.
Search button settings

Search bar label

  • Search bar label – text field for entering the label.
  • Search bar label position – select the label position relative to the search bar: Left, Right, Above left, Above center, Above right, Under left, Under center, Under right, Inside.
  • Hide label – the toggle to hide/disable the search bar label.
Bar label settings of the Search widget

Style tab

On the Custom fields widget styles tab, you can configure everything related to the visual style of elements: colors, typography, backgrounds, borders, and more.

Search form

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %) for desktops, tablets, or phones.
  • Width – specify search form width using the slider in different units(px, %) for desktops, tablets, or phones.
NORMAL/HOVER

The search form settings for different states of the Search widget.

  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Search button

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %) for desktops, tablets, or phones.
  • Icon spacing – the setting allows managing the spacing between text and button icon in different units(px, em, %) for desktops, tablets, or phones.
  • Icon size – specify the icon size of the button via slider for desktops, tablets, or phones.
  • Width – specify search button width using the slider in different units(px, %) for desktops, tablets, or phones.
  • Height – specify search button height using the slider in different units(px, %) for desktops, tablets, or phones.
  • Typography – this group of settings controls everything about typography: font-size, font-weight, line-height, decoration, and other parameters.
NORMAL/HOVER/Focus

The search button settings for different states of the Search widget.

  • Color– specify the font color and opacity for the text of the current block using the color picker.
  • Icon Color – specify the icon color and opacity using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Search field

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %) for desktops, tablets, or phones.
  • Width – specify search field width using the slider in different units(px, %) for desktops, tablets, or phones.
  • Height – specify search field height using the slider in different units(px, %) for desktops, tablets, or phones.
  • Typography – this group of settings controls everything about typography: font-size, font-weight, line-height, decoration, and other parameters.
NORMAL/HOVER/Focus

The search button settings for different states.

  • Color– specify the font color and opacity for the text of the current block using the color picker.
  • Placeholder Color – specify the font color and opacity for the placeholder text of the current block using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Label/Result box/Result box item/Result box item post title/Result item post excerpt

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %) for desktops, tablets, or phones.
  • Typography – this group of settings controls everything about typography: font-size, font-weight, line-height, decoration, and other parameters.
NORMAL/HOVER

The search label settings for different states.

  • Color– specify the font color and opacity for the text of the current block using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Result box item image

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %) for desktops, tablets, or phones.
NORMAL/HOVER

The settings of the result box item image for different states.

  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Advanced Tab

The advanced tab allows you to flexibly configure everything that relates to the design of the plug-in wrapper. The settings on this tab are entirely similar to the native Elementor widgets and will be convenient for experienced users of the Elementor. Learn more about Advanced Tab settings from Elmentor’s official documentation.

Save changes

Do not forget to save changes after completing the widget setup. To do this, click on the Update button at the bottom of the page.

Update page in the Elementor
Update page in the Elementor

Was this article helpful to you?