# How to change the html code?

**URL:** https://meta.discourse.org/t/how-to-change-the-html-code/79904
**Category:** Support
**Created:** [February 6, 2018, 12:30pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904 "2018-02-06T12:30:33Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![luckydev](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@luckydev](https://meta.discourse.org/u/luckydev)
#### Post date: [February 6, 2018, 12:30pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/1 "2018-02-06T12:30:33Z")

</div>

Hello!  
How to change the html code? I did not find it in the admin panel and the folder with the files

The admin panel is empty

 ![](https://global.discourse-cdn.com/meta/original/3X/7/6/76fb48e206291c57e37e9913a71907365868e8ad.jpg)

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 6, 2018, 12:47pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/2 "2018-02-06T12:47:57Z")

</div>

What HTML code are you trying to change - have you tried going to Customize in the admin panel?

From there you can add in custom HTML/CSS

---

<div class="post-metadata">

### Author: ![luckydev](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@luckydev](https://meta.discourse.org/u/luckydev)
#### Post date: [February 6, 2018, 2:19pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/3 "2018-02-06T14:19:24Z")

</div>

This admin panel its clear

 ![](https://global.discourse-cdn.com/meta/original/3X/7/6/76fb48e206291c57e37e9913a71907365868e8ad.jpg)

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 6, 2018, 2:26pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/4 "2018-02-06T14:26:23Z")

</div>

This is where you can inject your own HTML - Discourse is coded in Ruby not HTML so you cannot amend the source files directly.

What is it you are trying to do?

---

<div class="post-metadata">

### Author: ![luckydev](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@luckydev](https://meta.discourse.org/u/luckydev)
#### Post date: [February 6, 2018, 2:33pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/5 "2018-02-06T14:33:57Z")

</div>

A little to change the design, some parts to remove, this can not be done?

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [February 6, 2018, 2:40pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/6 "2018-02-06T14:40:09Z")

</div>

You can inject code before `<header>` and after `After Header` the Header and before / inside the `Footer`

You can also add any script links or meta tags to `</head>`

All custom CSS can be placed in the “CSS Tab” Common / Desktop / Mobile

As far as I can see you cannot edit the default structure, maybe one of the devs can interject if that is not true.

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 6, 2018, 2:43pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/7 "2018-02-06T14:43:59Z")

</div>

Most things now can be altered/removed/added using CSS/JS trickery as long as your skills are up to the challenge :slight_smile:

It’s not just as simple as removing / changing some HTML coding though.

Have a read through the other categories such as #howto:tips-and-tricks or #plugin:theme

---

<div class="post-metadata">

### Author: ![luckydev](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@luckydev](https://meta.discourse.org/u/luckydev)
#### Post date: [February 6, 2018, 2:54pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/8 "2018-02-06T14:54:02Z")

</div>

How to delete thead?

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 6, 2018, 3:03pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/9 "2018-02-06T15:03:59Z")

</div>

I suggest you start learning some css if you want to start customising things :slight_smile:

To get you started - you could use:

```
thead {
display: none;
}

```

---

<div class="post-metadata">

### Author: ![sharkdeng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sharkdeng/32/184854_2.png) [@sharkdeng](https://meta.discourse.org/u/sharkdeng)
#### Post date: [June 23, 2020, 2:16pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/10 "2020-06-23T14:16:18Z")

</div>

Can I insert one Google Admobe Ad code between tag?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:37pm UTC](https://meta.discourse.org/t/how-to-change-the-html-code/79904/11 "2024-06-08T12:37:05Z")

</div>

This topic was automatically closed after 2314 days. New replies are no longer allowed.
