# Dashboard Dropdown with custom CSS

**URL:** https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253
**Category:** Dashboard
**Tags:** node-red-dashboard
**Created:** [7 May 2023 20:13 UTC](https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253 "2023-05-07T20:13:28Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [8 May 2023 14:16 UTC](https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253/6 "2023-05-08T14:16:57Z")

</div>

> I only recently updated the dashboard to 3.4.0 so that I could use the new "Class" attribute in the widget. I was disappointed to find that almost everything I tried to add to "MyDropdown" was overridden. Made the new Class attribute almost superfluous.

Can you give some more detail about this, and a flow to illustrate it?

Of course the className code was added in to existing dashboard widgets so it may not work well with all widget types.

I posted an example of changing widget style using className at [https://discourse.nodered.org/t/dynamic-css-changes-in-dashboard-v3beta/50866](https://discourse.nodered.org/t/dynamic-css-changes-in-dashboard-v3beta/50866) but it does not include a dropdown.

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253)._
