- Posts: 198
- Thank you received: 0
How to remove "Search" from icon in search module
-
Danimeeka
Active member - Topic Author
- Member
Less
More
3 years 3 months ago #48094
by Danimeeka
How to remove "Search" from icon in search module was created by Danimeeka
Hi,
My website is currently set up at blackhawkit.com.au/quattro/ and I have the search module installed in the footer position on the Home page. I am happy with "Search ..." text within the search textbox but would like to remove the word Search from next to the magnifying glass icon. How do I do this?
Thanks,
Julia.
My website is currently set up at blackhawkit.com.au/quattro/ and I have the search module installed in the footer position on the Home page. I am happy with "Search ..." text within the search textbox but would like to remove the word Search from next to the magnifying glass icon. How do I do this?
Thanks,
Julia.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
3 years 3 months ago #48096
by milos
Replied by milos on topic How to remove "Search" from icon in search module
Hello,
You must create a template override. Create folder /templates/sparky_framework/html/mod_finder.
Copy this file /modules/mod_finder/tmpl/default.php to the folder /templates/sparky_framework/html/mod_finder.
Edit the copied file and change this line:
to this:
Regards,
Milos
You must create a template override. Create folder /templates/sparky_framework/html/mod_finder.
Copy this file /modules/mod_finder/tmpl/default.php to the folder /templates/sparky_framework/html/mod_finder.
Edit the copied file and change this line:
Code:
$output .= '<button class="btn btn-primary" type="submit"><span class="icon-search icon-white" aria-hidden="true"></span> ' . Text::_('JSEARCH_FILTER_SUBMIT') . '</button>';
to this:
Code:
$output .= '<button class="btn btn-primary" type="submit"><span class="icon-search icon-white" aria-hidden="true"></span></button>';
Regards,
Milos
The following user(s) said Thank You: Danimeeka
Please Log in to join the conversation.
Time to create page: 0.213 seconds