I’m struggling to add a dark theme on a production forum. I’m not sure why, but the site keeps certain elements white. I spun up a test Discourse and cannot recreate, but it looks like this on the production forum after enabling the dark theme:
CSS. Click to see
.page-not-found-search { display: none; }
.hamburger-panel ul.category-links li.subcategory {
display: none;
}
img[src*=‘#left’] {
float: left;
}
img[src*=‘#right’] {
float: right;
}
img[src*=‘#center’] {
display: block;
margin: auto;
}
.d-header-icons .icon:hover, .d-header-icons .icon:focus {
background-color: white;
}
.d-header-icons .d-icon {
color: white;
}
.d-header-icons .icon:hover .d-icon, .d-header-icons .icon:focus .d-icon {
color: #0082c9;
}
.drop-down-mode .d-header-icons .active .icon .d-icon {
color: #0082c9;
}
/* Don’t show subcategories in category list */
.category-list .subcategories {
display: none;
}
Afaik the issue is with the CSS, so I’m wondering about how I can change it. Thanks for any guidance.

