Title: Toggle Filters
Last modified: April 24, 2023

---

# Toggle Filters

 *  Resolved [schulz](https://wordpress.org/support/users/schulz/)
 * (@schulz)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/)
 * I had a very weird thing happen to one of my pages on my site; when I used the
   class=”dmt-filter-1″ on a div container that contained images, the colors of 
   the image inverted, howerver, the background and text colors did not when I switched
   to dark mode! I had to use class=”dmt-filter-0″ on each image to prevent the 
   image color invert from happening.
 * Doesn’t class=”dmt-filter-0″ mean don’t change colors and class=”dmt-filter-1″
   means set colors opposite of current mode? Your documentation was not clear and
   I am very confused by this.
 * BTW: The theme I am using is Neve version: 3.5.8 by ThemeIsle.
    -  This topic was modified 3 years, 1 month ago by [schulz](https://wordpress.org/support/users/schulz/).
    -  This topic was modified 3 years, 1 month ago by [schulz](https://wordpress.org/support/users/schulz/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftoggle-filters%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [ScriptsTown](https://wordpress.org/support/users/scriptstown/)
 * (@scriptstown)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680152)
 * Hello [@schulz](https://wordpress.org/support/users/schulz/),
 * Could you share the website page URL where you have to apply “dmt-filter-0” classs
   to the images?
 * I can provide you a simple CSS rule, so you don’t have to apply this class to
   each images.
 *  Thread Starter [schulz](https://wordpress.org/support/users/schulz/)
 * (@schulz)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680156)
 * The page I need help with: [https://shoptbay.ca/shop/wired807/](https://shoptbay.ca/shop/wired807/)
 *  Plugin Author [ScriptsTown](https://wordpress.org/support/users/scriptstown/)
 * (@scriptstown)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680164)
 * You can remove those “dmt-filter-0” classes from images and use this CSS globally(
   Customize > Additional CSS):
 *     ```wp-block-code
       .darkmode--activated .dmt-filter-1 img {
           filter: invert(0) !important;
       }
       ```
   
 *  Thread Starter [schulz](https://wordpress.org/support/users/schulz/)
 * (@schulz)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680182)
 * That fixed it, I thank you for responding so quickly and providing a solution.
 * Is this problem due to the theme I am using, or will this be patched in a later
   version of your plugin?
 * So, class=”dmt-filter-1″ means don’t change colors when mode changes and class
   =”dmt-filter-0″ means set colors opposite of current mode.
 * With the fix in place, it is now clear what each filter does, more details about
   these filters in your documentation would greatly help others use your plugin
   more effectively.
 * Thanks again for the plugin and the great support you provided.
 *  Plugin Author [ScriptsTown](https://wordpress.org/support/users/scriptstown/)
 * (@scriptstown)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680188)
 * Our plugin works differently than other dark mode plugins. So, its easy to fix
   things and it is compatible with most of the themes.
 * I have updated the documentation guide to make it more clear about this.
 * Thanks!
 *  Plugin Author [ScriptsTown](https://wordpress.org/support/users/scriptstown/)
 * (@scriptstown)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680193)
 * I would appreciate if you could share your experience by [leaving a review](https://wordpress.org/support/plugin/dark-mode-toggle/reviews/#new-post):
 * Many thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Toggle Filters’ is closed to new replies.

 * ![](https://ps.w.org/dark-mode-toggle/assets/icon-256x256.png?rev=2682826)
 * [Dark Mode Toggle](https://wordpress.org/plugins/dark-mode-toggle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dark-mode-toggle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dark-mode-toggle/)
 * [Active Topics](https://wordpress.org/support/plugin/dark-mode-toggle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dark-mode-toggle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dark-mode-toggle/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [ScriptsTown](https://wordpress.org/support/users/scriptstown/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/toggle-filters/#post-16680193)
 * Status: resolved