How can I change the HTML template of advanced search?

Hello everyone. This is a brilliant plugin (Search banner theme component). Thanks.
Please tell me, how can I style the search settings page? Can I change the html template of the search settings?

You can change the HTML of the advanced search settings by overriding the template in a theme… the relevant templates are full-page-search.hbs and search-advanced-options.hbs.

Our Developer’s guide to Discourse Themes covers template overrides in the advanced section.

2 Likes

Thanks for your reply. I read the manual. Tell me please, where should I insert this code?

For example, I want to redefine a template full-page-search.hbs

<script type="text/x-handlebars" data-template-name="full-page-search">
Here is the modified template full-page-search.hbs
</script>

Thanks. I figured it out. This text should be inserted < / body>

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.