Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author markoarula

    (@markoarula)

    Hi,

    can you explain it in more details or send some screenshot?

    Thread Starter amaimonv

    (@amaimonv)

    Night Mode OFF:
    https://ibb.co/cnTO1y Night Mode off 1 (Main Page)
    https://ibb.co/crFE8d Night Mode off 2 (Main Page)

    Night Mode ON:
    https://ibb.co/bE8O1y Night Mode on 1 (Main Page)
    https://ibb.co/b3QsuJ Night Mode on 2 (Main Page)
    https://ibb.co/huVgod Night Mode on 3 (Main Page)
    https://ibb.co/nO7GMy Night Mode on 4 (In Post)

    thx for help ??

    • This reply was modified 6 years, 4 months ago by amaimonv.
    Plugin Author markoarula

    (@markoarula)

    Sorry for the late reply.

    This is just CSS issue and you can solve it quite easily.

    It’s hard to cover everything in every theme with CSS and in some cases plugin settings will not change all colors as expected because some themes are using lots of “!important”.

    For example, your theme can have something like this in CSS:

    body {
        background-color: #ffffff !important;
    }

    and in that case, you’ll have to override this !important with another !important written by your side.

    Switching the “Night mode” button will add or remove “wp-night-mode-on” class on <body> tag and you can use that class for overriding existing CSS.

    Like this:

    body.wp-night-mode-on {
        background-color: #000000 !important;
    }

    That’s it, just a bit of playing with CSS ??

    • This reply was modified 6 years, 4 months ago by markoarula.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with this plugin and some themes’ is closed to new replies.