Title: Custom css
Last modified: January 19, 2022

---

# Custom css

 *  [John](https://wordpress.org/support/users/dv1961/)
 * (@dv1961)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-css-282/)
 * I’m using Elementor and I’m having trouble changing background colors. For example,
   I can change the background of the header to black, but individual elements still
   inherit the dark grey background color of the dark mode theme.
 * Are there any examples of the css that makes this work?, without having to target
   each and every element individually.

The topic ‘Custom css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/droit-dark-mode_423e40.svg)
 * [Droit Dark Mode](https://wordpress.org/plugins/droit-dark-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/droit-dark-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/droit-dark-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/droit-dark-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/droit-dark-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/droit-dark-mode/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [John](https://wordpress.org/support/users/dv1961/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/custom-css-282/)
 * Status: not resolved