# Missing "edit html&css" and "uploads" button for components

**URL:** https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393
**Category:** Feature
**Created:** [November 17, 2020, 7:57pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393 "2020-11-17T19:57:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [November 17, 2020, 7:57pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/1 "2020-11-17T19:57:28Z")

</div>

The edit button on the component pages does not appear in one of the Discourse installations. That’s why I can’t edit the styles of the components. What could be the reason for this? Edit: Also “uploads” section is missing.

Discourse version: 2.6.0.beta5

What could be the reason for this?

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

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/e/7edbd69d0da1e2c00cde4b3b67b5955709198579.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: [November 17, 2020, 8:17pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/2 "2020-11-17T20:17:03Z")

</div>

We’ve restricted local editing of remote themes:

> [@Restrict editing of remote themes](https://meta.discourse.org/t/restrict-editing-of-remote-themes/170051):
>
> For quite a while, best practice has been to avoid editing themes installed from a remote Git repository locally on Discourse. Any changes to theme code or uploads get wiped out when updating the theme from the remote repo. In this commit, we’ve removed the ability to locally edit a remote theme and are now enforcing this best practice in Discourse. What happens if I have a remote theme with local changes? Nothing at this point. Your theme stays as is until you remove it or update it from re…

---

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [November 17, 2020, 8:21pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/3 "2020-11-17T20:21:40Z")

</div>

Thank you for the answer.

What should we do for the next customizations? Should I create my own Github repository for any component and make edits on it? An easier way?

---

<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: [November 17, 2020, 8:30pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/4 "2020-11-17T20:30:15Z")

</div>

Yes you can either fork the Github repository and customize it that way, or if you prefer customizing it with the Discourse admin interface you can create an additional local theme component (so for example you’d have the remote version of custom header links installed from Github, and then you can create a local “custom header links edits” component and add that as well).

If you’re willing to learn a little bit of git, forking is probably the best way to go about it because you get all the benefits of source control and have all the Github features available to merge your changes with upstream updates.

---

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [November 17, 2020, 8:35pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/5 "2020-11-17T20:35:36Z")

</div>

Awesome, i am willing to learn a little bit of git, I will use benefits of source control. Your answers have been very helpful. Thank you.

---

<div class="post-metadata">

### Author: ![ElForoViajero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elforoviajero/32/187116_2.png) [@ElForoViajero](https://meta.discourse.org/u/ElForoViajero)
#### Post date: [December 4, 2020, 4:32pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/6 "2020-12-04T16:32:34Z")

</div>

Hi. I was not aware of this change. My site uses a lot of theme components and I did not have the custom CSS I wrote for each one of them, which took me months to figure out. Now all my theme components have no custom CSS and my site looks terrible. Is there any way to retrieve at least the CSS so i can follow the new guidelines? thanks…

---

<div class="post-metadata">

### Author: ![weallwegot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/weallwegot/32/124753_2.png) [@weallwegot](https://meta.discourse.org/u/weallwegot)
#### Post date: [December 4, 2020, 6:50pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/7 "2020-12-04T18:50:33Z")

</div>

You can see something like a change log If you go to Admin \> Logs then filter by “change theme” and then viewing the details will show you a diff for each change you made

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 4, 2020, 10:41pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/8 "2020-12-04T22:41:56Z")

</div>

You can also export the theme to view all the CSS.

---

<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: [January 3, 2021, 10:42pm UTC](https://meta.discourse.org/t/missing-edit-html-css-and-uploads-button-for-components/170393/9 "2021-01-03T22:42:04Z")

</div>

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