Search Results For Astra Official
: To dynamically change the entire string, add this filter to your functions.php :
function change_nothing_found_text( $strings ) { $strings['string-search-nothing-found'] = __( 'Oops! We couldn\'t find any matches.', 'astra' ); return $strings; } add_filter( 'astra_default_strings', 'change_nothing_found_text', 10 ); Use code with caution. Copied to clipboard
If "proper text" refers to the or size of the search results: Search Results for astra
To modify the text that appears on your Astra theme search results page or within the search box itself, you can use the built-in WordPress Customizer or add custom code to your child theme's functions.php file. 1. Change "Search Results For:" Heading
: Navigate to Customize > Post Types > Search Page . Under the General tab, you can enable/disable the heading and edit the text in the Heading field. : To dynamically change the entire string, add
: In the same Search Page menu (Customize > Post Types > Search Page), click the Design tab to adjust the font size, color, and weight specifically for the search title. How to Change the "Search Results For" String
This replaces the standard "Nothing Found" subtitle or title. 4. Adjust Search Typography : In the same Search Page menu (Customize
This method allows you to replace the default label with something like "You looked for:". 2. Change Search Bar Placeholder Text