Add The Search Icon at Beaver Builder Header

Do you want the search icon on your Beaver Builder header? Toggle Search Form module is a good tools for it. You will drag&drop this module at your header and setup the colors, font size based on your site header design.

Search icon
Here I am sharing the two methods below:

  1. Header with Beaver Builder Plugin (who have not themer yet)
  2. Header with Beaver Themer Addon

Install/Activate the Toggle Search Form Module

Toggle Search Form Module is a premium beaver builder custom module which is built by WP Beaver World. Hope that you already purchase and download it. Let’s install and activate the module:

  1. Login to Dashboard
  2. Navigate to Plugins->Add New
  3. Click on Upload Plugin button
  4. Choose the file
  5. Click on Install Now button
  6. Click on “Activate” link

Now “Toggle Search Form” module will appear under WP Beaver World category on your page builder panel.

Method 1: Creates the Header with Beaver Builder Plugin

Creating the site header with Beaver Builder’s Template post type. First you will enable the “Template” post type at Settings->Page Builder->Use Access Tab. After activating it you will get new menu “Builder” at left side of your dashboard.

User Access

Next navigates to Builder -> Templates page and creates the header clicking on the “Add New” button. See the live video at below for complete step:

Replaces Header of Beaver Builder Theme with BB

First disables the Beaver theme header.

  1. Navigate to Appearance->Customize page
  2. Click on Header -> Header Layout
  3. Select “None” from Layout drop down list
  4. Click on Save&Publish button and save the settings

Next open the functions.php of your BB child theme and add this PHP script at end of the file.

add_action( 'fl_after_header', function(){
	echo '<header class="fl-page-header fl-page-header-primary';
	echo '"';

	echo ' itemscope="itemscope" itemtype="">
			<div class="fl-page-header-wrap">';

			'post_type' 	=> 'fl-builder-template',
			'p' 			=> 761

	echo '</div></header>';
}, 1 );

761 is my template ID. You will replace with your template ID.

Replaces Header of Genesis Child Theme with BB

Open the functions.php file of your Genesis child theme and add this PHP snippet at end of the file

remove_action( 'genesis_header', 'genesis_do_header' );
add_action( 'genesis_header', function(){
		'post_type' 	=> 'fl-builder-template',
		'p' 			=> 761

Line no 1: Removes the default Genesis header
Line no 2-7: Adds the Beaver Builder header. 761 is my template ID. You will replace with your template ID.

Replaces Header of GeneratePress Theme with BB

Open then functions.php file and just drop this PHP script at end of the file

function generate_header_items() 
		'post_type' => 'fl-builder-template',
		'p' 		=> 761

Method 2: Creates Header with Beaver Themer

Beaver Builder team released a new product “Beaver Themer” which is saving your time and quickly build a site. If you have it then it would be 10-15 mins job. See a simple demo at below:

1 Comment

  1. Jos Vermeulen on January 22, 2019 at 9:27 pm

    I would like to have the search icon as a menu item, so on small devices it will appear after clicking the hamburger. Is there a shortcode or other method for this?

Leave a Comment

You must be logged in to post a comment.


Get free weekly PRO Beaver Builder Tutorials