To customize the message shown when no results are found, you can use the astra_default_strings filter:
add_filter( 'astra_the_search_page_title', 'my_custom_search_title', 10 ); function my_custom_search_title() { return sprintf( __( 'Your Custom Text Here: %s', 'astra' ), ' ' . get_search_query() . ' ' ); } Use code with caution. Copied to clipboard Search Results for astra
: Add a function to your functions.php that overrides the astra_get_search_form and modifies the placeholder attribute. To customize the message shown when no results
: Go to Customize > Global > Typography to set site-wide fonts, which will affect the search results. Copied to clipboard : Add a function to your functions
If you want to change the text inside the search box (e.g., changing "Search..." to "Find what you need..."), use this filter:
: To dynamically change the entire string, add this filter to your functions.php :
This replaces the standard "Nothing Found" subtitle or title. 4. Adjust Search Typography