# Hoe kan ik de HTML-sjabloon van geavanceerd zoeken wijzigen?

**URL:** https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813
**Category:** Support
**Created:** [29 maart 2021 om 14:36 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813 "2021-03-29T14:36:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [29 maart 2021 om 14:36 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813/1 "2021-03-29T14:36:23Z")

</div>

Hello everyone. This is a brilliant plugin ([Advanced Search Banner](https://meta.discourse.org/t/search-banner-theme-component/122939/1)). Thanks.  
Please tell me, how can I style the search settings page? Can I change the html template of the search settings?

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/a/3a4175b5d1ca4420eecad3b958a909eae09e61d6.png)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [30 maart 2021 om 04:09 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813/2 "2021-03-30T04:09:09Z")

</div>

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](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/templates/full-page-search.hbs) and [search-advanced-options.hbs](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs).

Our [Developer’s guide to Discourse Themes](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--4-b-2) covers template overrides in the advanced section.

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [30 maart 2021 om 07:58 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813/3 "2021-03-30T07:58:56Z")

</div>

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](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/templates/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>

```

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [30 maart 2021 om 14:56 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813/4 "2021-03-30T14:56:44Z")

</div>

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

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/b/9b6255651442c120a882fe5cc702672c86e669c1.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [29 april 2021 om 14:57 UTC](https://meta.discourse.org/t/how-can-i-change-the-html-template-of-advanced-search/184813/5 "2021-04-29T14:57:20Z")

</div>

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