Support » Plugin: WP Night Mode » Change Logo CSS

  • Jan

    (@jannetto96)


    Hello! Your plugin is great and I hope it will be inserted in WordPress Core.
    One question: How to change logo in night mode on with CSS? Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author markoarula

    (@markoarula)

    Hi,

    you can use this CSS with some adjustments:

    body.wp-night-mode-on .logo-image {
      display: block;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      background: url(your-image-url) no-repeat;
      width: 180px;
      height: 236px;
    }

    just replace ‘your-image-ur’ with your logo URL and replace ‘.logo-image’ class with your logo class.

    Hope this helps you,

    best regards

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.