How to remove "Search" from icon in search module

More
3 years 3 months ago #48094 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.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 years 3 months ago #48096 by milos
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:
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.

More
3 years 3 months ago #48099 by Danimeeka
Perfect. Thanks Milos.

Please Log in to join the conversation.

Time to create page: 0.213 seconds
Powered by Kunena Forum