Theming

Changing the Template

To override a template file, we simply copy it from the default theme to our custom theme.

In this example we'll change the search field, as seen below.

So let's copy this file:

/comments/frontend/view/default/template/part/search.tpl

And paste it into our theme:

/comments/frontend/view/my_theme/template/part/search.tpl

Inside the file let's remove the 'Magnifying Glass' code below.

						<span class="fa fa-search" title="{{ lang_title_search_icon }}"></span>
					

And the final result: