# How to set global CSS?

**URL:** https://meta.discourse.org/t/how-to-set-global-css/135887
**Category:** Support
**Created:** [December 13, 2019, 7:30pm UTC](https://meta.discourse.org/t/how-to-set-global-css/135887 "2019-12-13T19:30:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_P](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_p/32/163548_2.png) [@Alex\_P](https://meta.discourse.org/u/Alex_P)
#### Post date: [December 13, 2019, 7:30pm UTC](https://meta.discourse.org/t/how-to-set-global-css/135887/1 "2019-12-13T19:30:59Z")

</div>

For example, I want to add these 3 lines disabling the overlay after sign up [Disable "Your first notification!" overlay on first login - #4 by dax](https://meta.discourse.org/t/disable-your-first-notification-overlay-on-first-login/116441/4)  
What is the best way to do this for all themes?

Should I create a theme component? Or is there a simpler way to just add some CSS globally?

---

<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: [December 13, 2019, 7:34pm UTC](https://meta.discourse.org/t/how-to-set-global-css/135887/2 "2019-12-13T19:34:38Z")

</div>

> [@Alex\_P](#):
>
> Should I create a theme component? Or is there a simpler way to just add some CSS globally?

Creating a component and adding the component to all your themes is the best way.

If you’ve updated recently, we’ve added the ability to add a component to all themes in a single click from the theme component’s settings.

 ![Screen Shot 2019-12-13 at 2.32.50 PM](https://global.discourse-cdn.com/meta/original/3X/8/5/851fd13a7222968b1471d09761328a0cfee6ec54.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: [January 12, 2020, 7:47pm UTC](https://meta.discourse.org/t/how-to-set-global-css/135887/3 "2020-01-12T19:47:18Z")

</div>

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