Title: Logo problem
Last modified: September 13, 2019

---

# Logo problem

 *  Resolved [rentrating](https://wordpress.org/support/users/rentrating/)
 * (@rentrating)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/logo-problem-17/)
 * Any plan to have logo for night mode? I have image logo and is black. It can 
   be nice to have black logo for day and white for night.

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

 *  Plugin Author [markoarula](https://wordpress.org/support/users/markoarula/)
 * (@markoarula)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/logo-problem-17/#post-11933538)
 * Hi,
 * I think the easiest way to change logo image is with some custom CSS.
    Not sure
   how to add this option so it works with all themes.
 * If you have any idea, please let me know.
 * Regards
 *  [Jermbugs](https://wordpress.org/support/users/jermbugs/)
 * (@jermbugs)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/logo-problem-17/#post-11996834)
 * Hi markoarula,
 * I love your plugin! This [CSS Code](https://codepen.io/taryaoui/pen/EKkcu) looks
   promising for .png logos. Maybe give it a try?
 *  Plugin Author [markoarula](https://wordpress.org/support/users/markoarula/)
 * (@markoarula)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/logo-problem-17/#post-11997404)
 * Hi jermbugs,
 * The filter CSS property is a very good and easy way to change color on images,
   but I can’t add this to the plugin because there is no way to target logo image
   on every site or on every theme.
 * Each theme will have its own class for logo image and that is the problem, so
   the safest way to change logo color to black would be to write custom CSS like
   this:
 *     ```
       body.wp-night-mode-on .your-logo-class {
         -webkit-filter: grayscale(100%);
         filter: grayscale(100%);
       }
       ```
   
 * you just need to change `.your-logo-class` class name to one that fits your website.
 * Best regards

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

The topic ‘Logo problem’ is closed to new replies.

 * ![](https://ps.w.org/wp-night-mode/assets/icon-128x128.png?rev=1894661)
 * [WP Night Mode](https://wordpress.org/plugins/wp-night-mode/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-night-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-night-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-night-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-night-mode/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [markoarula](https://wordpress.org/support/users/markoarula/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/logo-problem-17/#post-11997404)
 * Status: resolved