Kadence - Change search modal heading text

In this tutorial, we'll show you how to change the "What are you looking for?" text that appears above the search bar inside the search modal. The search modal is the screen that appears when clicking the search icon inside the navigation. 

1. In your WordPress dashboard, go to Appearance > Theme Editor > Functions.php.

2. Click your cursor inside the code box and click Command+F (Ctrl+F on PC) to search. Search "what" to be taken down to this section:

//* Add title before search modal
add_filter('get_search_form', 'kt_add_form_title', 100);
add_filter('get_product_search_form', 'kt_add_form_title', 100);

function kt_add_form_title( $form ) {
	$content = '<div class="search-modal-content"><h5>What are you looking for?</h5></div>';
	return $content . $form;
}

3. In between <h5> and </h5>, replace What are you looking for? with your preferred text.

4. Click Update File to save.