How to get rid of semi-transparent background of captions in WordPress?

Beach Wheelchairs


How do I get rid of the semi-transparent caption background? I’ve searched the documentation and can’t find anything.

Thanks,

Scott


Comments

4 responses to “How to get rid of semi-transparent background of captions in WordPress?”

  1. J HAMMOCK AND ASSOC Avatar
    J HAMMOCK AND ASSOC

    I put that in the theme style.css and it didn’t work, so I put it in the theme skin stylesheet and that worked. I’ll have to remember to do this again when I upgrade, right?

    Any idea how to get that css to work in the theme style.css?

    Thanks for your help on this, I really appreciate it.

    1. It can depend on the load order, I would also try making the rule even more specific (adding classes/ids).

  2. BTW, if needed, you can target instances more specifically by using its ID.

    For example, the one shown on that page has #wunderslider-nggallery-0, you can target it with your changes more specifically by using:

    #wunderslider-nggallery-0 .wunderslider .pane .caption {
    background: none;
    border: none;
    }

  3. Hi Scott,

    You can override the defaults using these CSS rules in your theme:

    .wunderslider .pane .caption {
    background: none;
    border: none;
    }

    Although in general, that makes things more difficult. The caption has a background so you don’t have problems with the caption’s text color against different pictures.

    Cheers

Share