# CSS non applicato quando le impostazioni vengono modificate nei componenti del tema

**URL:** <https://meta.discourse.org/t/css-failing-to-apply-when-settings-changed-on-theme-components/95966>\
**Category:** Bug\
**Created:** [30 Agosto 2018, 12:45am UTC](https://meta.discourse.org/t/css-failing-to-apply-when-settings-changed-on-theme-components/95966 "2018-08-30T00:45:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [30 Agosto 2018, 12:45am UTC](https://meta.discourse.org/t/css-failing-to-apply-when-settings-changed-on-theme-components/95966/1 "2018-08-30T00:45:00Z")

</div>

It appears there is a small bug that may have been introduced with the theme/component split.

Normally when you change a theme setting that affects the CSS, you can immediately see the change, even without refreshing. This is still working correctly with **themes**.

The bug occurs when you change a theme setting that affects the CSS on a **theme component** that has been added to a theme. The CSS does not change, even _with_ a refresh. The only way to trigger the change is to go into the CSS/HTML of the theme component and make a manual change.

I’ve created a small theme component that might help for testing. Theme-Creator does not allow you to add components to themes, so you will need to download it and try it out a test site in order to see the bug.

[https://theme-creator.discourse.org/theme/tshenry/css-setting-test](https://theme-creator.discourse.org/theme/tshenry/css-setting-test)

Please let me know if I need to clarify anything!

---

_[View the full topic](https://meta.discourse.org/t/css-failing-to-apply-when-settings-changed-on-theme-components/95966)._
