WordPress.org

Ready to get started?Download WordPress

Forums

Gallery Carousel Without JetPack
[resolved] background transparency (2 posts)

  1. htown
    Member
    Posted 5 months ago #

    I would like to be able to control the transparency of the background so that I can still see that there is a website behind the carousel. I am not ale to find where to put in the css to do this. Anyone have any idea how I can do this instead of just having it solid white?

    Many thanks,
    Houston

    http://wordpress.org/plugins/carousel-without-jetpack/

  2. n7 Studios
    Member
    Plugin Author

    Posted 3 months ago #

    Hi Houston,

    You'd need to override the .jp-carousel-overlay class in your CSS. For example, to set a black background with 80% opacity:

    .jp-carousel-overlay {
    background:#000;
    background:rgba(0,0,0,0.8);
    }

    And for a white background:

    .jp-carousel-overlay {
    background:#fff;
    background:rgba(255,255,255,0.8);
    }

    For browsers not supporting rbga transparency, they'll just see a solid background color.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.