Skip to main content
All CollectionsDivi 5Modules
The Divi Search Module
The Divi Search Module

Learn how to use the Divi Search Module to add a customizable search bar that enhances navigation and user experience.

Updated yesterday

The Divi Search Module lets you place a search bar anywhere on your site, including headers, footers, pages, and posts.

Divi 5 - Search module

Add The Divi Search Module

When you load the Visual Builder, Divi automatically adds a Section.

  1. Click the Green Plus icon to insert a Row.

  2. Click the Gray Plus icon inside the Row to open the Divi Module Library. The library contains all the modules included with the Divi theme.

  3. Find the Search module and click on it to load the module.
    The module library is also searchable. To access it, type the module name you want in the search bar at the top.

{Gif here}

The Divi Search Module Use Cases

  1. Adding a Site-Wide Search Bar: Place the module in your header or footer to let visitors search your entire site quickly and efficiently.

  2. Creating Content-Specific Search Areas: To streamline results for your audience, limit the search functionality to specific content types, such as blog posts, projects, or products.

  3. Enhancing Navigation on Large Websites: The module can improve user experience and accessibility on complex sites with extensive content, such as e-commerce stores or knowledge bases.

Search Module Settings Breakdown

Once you've added the Search module, the module settings automatically pop up. This is where this module's content and design styles are configured. These settings are organized into three groups via the tabs at the top of the module:

The Content tab

The Content tab allows you to customize the placeholder text for the search field, as well as the exceptions and background styles.

Divi 5 - Search module's Content tab
  1. Text - Choose the input field's placeholder text.

  2. Elements - Choose Display or Remove the Search button.

  3. Exceptions - Choose to exclude Post, Pages or Posts from specific categories from the search results.

  4. Background - Choose the Search module's background styles.

  5. Admin Label - Choose the Search module's label text to assist you in keeping things organized and easy to understand in the Visual Builder.


The Design tab

All the design styles and options for the Search module are in this tab.

Divi 5 - Search module's Design tab
  1. Filed - Choose the Search module's field styles.

  2. Text - Choose the overall Search module's text styles for this module.

  3. Button Text - Choose the Search module's button text styles.

  4. Sizing - Choose the Search module's sizing.

  5. Spacing - Choose the Search module's spacing.

  6. Border - Choose the Search module's border styles.

  7. Box Shadow - Choose the Search module's Box Shadow styles.

  8. Filters - Choose the Search module's filters, such as hue shifts, saturation changes, and blending modes.

  9. Transform - Choose the Search module's advanced design effects, such as scaling, rotating, skewing, and translating.

  10. Animation - Choose the Search module's animation styles.


The Advanced tab

The Advanced tab provides tools for experienced designers, including options for adding CSS IDs and Classes, controlling visibility, managing transitions, adjusting element positions, and creating scroll effects.

Divi 5 - Search module's Advanced tab
  1. CSS ID & Classes - Allows you to assign unique CSS ID or reusable CSS classes, enabling advanced custom styling through your child theme’s stylesheet or Divi’s custom CSS settings.

  2. Custom CSS - Allows you to add custom CSS code to fine-tune your Search module, enabling advanced styling that perfectly aligns with your vision.

  3. Conditions - Allows you to create dynamic, personalized content, ensuring the right message reaches the right audience at the right time.

  4. Visibility - Choose the Search's module visibility based on different devices.

  5. Transitions - Choose how long Search's module animation takes, adding subtle, impactful animations that enhance user experience and make your modules stand out.

  6. Position - Choose precise control of the Search's module placement and create dynamic, visually engaging designs.

  7. Scroll Effects - Control how the Search module behaves and transforms during scrolling.


What's the next step?

Save your changes and exit the Visual Builder

To save the page design, you can type CMD + S on a Mac or CTRL + S on a PC.

You can also:

  1. Click on the Save button.

  2. Click on the Exit button.

Divi 5 - Save and Exit Visual Builder

Did this answer your question?