Support » Plugin: WP Featherlight - A Simple jQuery Lightbox » Background transparency

  • Resolved hj

    (@hj)


    Lovely little lightweight plugin which does what I want without fuss.

    Only think I’d love to do is change background transparency – it’s very dark and I’d like users to at least feel they haven’t left the web site page!

    I imagine there’s some selector in wp-featherlight.css needs changing, but I can’t see which one..?

    Any idea which line and selector I need to attend to?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ozzy Rodriguez

    (@ozzyr)

    It would be best if you didn’t edit the plugin itself, and also the plugin loads a minified version of the stylesheet, so it probably wouldn’t do you much good.

    If you wanted to override the style of the background, you’d probably want to use .featherlight:last-of-type. You may need to use !important in your rule, though.

    Hi, thanks for reply.

    By ‘best if you didn’t edit the plugin itself’….are you referring to the javascript or some other part? I don’t see how I could change the transparency without amending one of the plugin files…which I imagined would be the stylesheet. ???

    I did try amending the .featherlight:last-of-type but I guess I don’t understand rgba codes (always though rgb was just three colors!) or maybe I need to add that !important tag to the rule.

    I’ll have a go again, let you know.

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    You shouldn’t edit any of the plugin files directly, JavaScript or otherwise. If you want to override a style, you can add styles to your theme stylesheet to override them.

    Ooops!…….

    Right, ok, I’ll try and add some style via the customiser.

    Yes, I got that to work 🙂

    Thank you!

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    Awesome! Glad it’s working for you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Background transparency’ is closed to new replies.