• Resolved rentrating

    (@rentrating)


    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

    (@markoarula)

    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

    Hi markoarula,

    I love your plugin! This CSS Code looks promising for .png logos. Maybe give it a try?

    Plugin Author markoarula

    (@markoarula)

    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.