# Requesting CSS identifiers for themes, theme components (plugins too?)

**URL:** https://meta.discourse.org/t/requesting-css-identifiers-for-themes-theme-components-plugins-too/392690
**Category:** Feature
**Created:** [January 5, 2026, 10:26am UTC](https://meta.discourse.org/t/requesting-css-identifiers-for-themes-theme-components-plugins-too/392690 "2026-01-05T10:26:42Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![gormus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gormus/32/428592_2.png) [@gormus](https://meta.discourse.org/u/gormus)
#### Post date: [January 5, 2026, 10:26am UTC](https://meta.discourse.org/t/requesting-css-identifiers-for-themes-theme-components-plugins-too/392690/1 "2026-01-05T10:26:42Z")

</div>

My theme-component uses objects for the settings, and it offers quite a few fields.

The current grid styles applied to object settings use very narrow columns for the vertical tabs column, and the schema fields.

I wanted to offer an alternative display for the object settings, but I couldn’t see a way to introduce a way to alter settings only for my theme-component; I don’t want to apply my CSS overrides globally for all themes.

Could Discourse possibly add a CSS identifier in the DOM for each theme and theme component, so different CSS rules can be added targeting the specific theme setting pages?

Here’s the simple CSS override I use on my site, which is applied globally:

```css
.schema-setting-editor .schema-setting-editor__wrapper {
    grid-template-columns: minmax(15em, 0.3fr) 1fr;
    gap: 0 3rem;
}
.schema-setting-editor .schema-field {
    grid-template-columns: 1fr;
    gap: 0;
    background-color: var(--tertiary-100);
    padding: 1rem 5px;
}

```

The default and overwritten styles:

 ![default_styles](https://global.discourse-cdn.com/meta/original/4X/a/0/2/a0235a8149dc68f82a78d735907d9de6a403080b.jpeg)  
 ![overwritten_styles](https://global.discourse-cdn.com/meta/original/4X/d/3/a/d3a7641e74b92460445b0378c2daa86ad04510a3.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/requesting-css-identifiers-for-themes-theme-components-plugins-too/392690)._
