Support » Plugin: Lightbox with PhotoSwipe » Download button in Dark mode

  • Resolved temporalnaut

    (@temporalnaut)


    1) I use the dark mode switcher on the page and when I switch to it, the download button in your Lightbox does not. The text in it changes to white, but the button remains the original – white and so not see the text. Should I contact the developer of my theme, or would you please do something with it? screenshot

    2) is it possible to set the timeout of the desktop top bar and the arrows on the sides?

    thank you, it’s a great plugin

    • This topic was modified 9 months, 3 weeks ago by temporalnaut.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This is caused by this style:

    .jnews-dark-mode a {
       color: var(--j-link-txt-color) !important;
    }

    Due to the added !important it will override the styles of the links in the share menu.

    As a workaround you can add override rule which will override first one:

    .pswp__share-tooltip a {
        color: #000 !important;
    }

    However it would be better, if you don’t use !important if not really needed.

    • This reply was modified 9 months, 3 weeks ago by Arno Welzel.

    thank you very much and is it possible to set the timeout of the desktop top bar and the arrows on the sides?

    Plugin Author Arno Welzel

    (@awelzel)

    According to https://photoswipe.com/documentation/options.html PhotoSwipe has an undocumented option timeToIdle which is 4 seconds by default (4000 ms). However this option can not be configured (yet) in the backend. I’ll add this with the next update.

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Download button in Dark mode’ is closed to new replies.