# Customizing CSS via plugin

**URL:** <https://meta.discourse.org/t/customizing-css-via-plugin/54142>\
**Category:** Development\
**Created:** [December 12, 2016, 9:36pm UTC](https://meta.discourse.org/t/customizing-css-via-plugin/54142 "2016-12-12T21:36:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![swohlever](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@swohlever](https://meta.discourse.org/u/swohlever)\
**Post date:** [December 12, 2016, 9:36pm UTC](https://meta.discourse.org/t/customizing-css-via-plugin/54142/1 "2016-12-12T21:36:10Z")

</div>

I’ve successfully applied custom CSS using the Customize-\>CSS/HTML UI, but I would rather package the styling changes with my plugin. I’ve seen examples of plugins using register\_asset in plugin.rb to add CSS. I created a \*.scss file under my plugin assets directory, but when I restart the server, the styling is not applied even though the plugin is enabled and working. I believe the file is being loaded, as I originally had a typo in the path, and the server reported that it was unable to find the asset (fixing the path eliminated that error message). I’ve tried registering the asset as common and desktop (I am using a laptop) without luck. Are there additional steps needed to enable CSS customizations when using this approach?

---

_[View the full topic](https://meta.discourse.org/t/customizing-css-via-plugin/54142)._
