• Resolved Karan.thakural89

    (@karanthakural89)


    Hi All,

    I need to remove the grey box of the slider for all images or if possible for a particular image. Is it possible?

    In my site, 2nd image of slider is not looking good with grey box, so, i need to remove grey box for that particular image on the slider.

    Site

    Appreciate your help.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Karan.thakural89

    (@karanthakural89)

    Is it possible to remove grey box for one particular image?I need to remove for one image only?

    You mean the caption background? Yes, you can remove it as you did with `.carousel-caption {
    background: none;
    }`

    For one slide only, use:

    .slide-755 .carousel-caption {
        background: none;
    }

    As a general rule: in Firebug/developer tools, go up the chain of html until you find a class that is sufficiently specific to target just the thing you are interested in—but not too broad to include other things as well—and add it to the front. So the code above will target the caption background, but only for slide 755 (your second slide).

    Thread Starter Karan.thakural89

    (@karanthakural89)

    @electric feet thanks a lot man, you made my day.

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove grey box of slider for some images/all images’ is closed to new replies.