WordPress.org

Support

Support » Plugins and Hacks » File Gallery » [Resolved] [Plugin: File Gallery] How to change caption text color

[Resolved] [Plugin: File Gallery] How to change caption text color

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Aesqe

    @aesqe

    @resumeready: you should change the color of caption text via CSS – either by modifying your theme’s style.css file, or by creating a custom File Gallery template.

    I just tried to modify the style.css file but the font color did not change. Perhaps I modified the wrong entry. Can you be more specific as to where this caption color can be found in the style.css file? I have successfully modified other fonts in this file, but I’m unable to find this one.
    Thanks,

    Hello? Can you tell me where exactly to find the CSS code for this caption color n the CSS stylesheet?

    Plugin Author Aesqe

    @aesqe

    @resumeready: it depends on which theme you are using, and which file gallery template. But, in any case, adding something like the following line in your theme’s style.css should work:

    .gallery.default .gallery-caption { color: #FF0000 !important; }

    Just tried your fix and it made no difference. Here is the page if it helps.

    Plugin Author Aesqe

    @aesqe

    OK, forget what I posted above and delete that from your style.css, and then just add “!important” to your “.gallery-caption” selector’s color property, like this:

    .gallery-caption {
        color: #000000 !important;
        font-size: 12px;
        margin: 0 0 12px;
    }

    That will work 🙂

    Success! Thanks very much for your help. -Robert

    worked very well, thank you

    for any theme you could just edit the same to

    .wp-caption {
        color: #e0a25b !important;
        font-size: 16px;
    }

    elita.sharpe@live.com

    @elitasharpelivecom

    Grrr. Need help with the same issue on the Empire theme. Have tried everything I know (though that amount is limited). Nothing has worked so far, even the above suggestions. Problem is that the caption on the gallery pages is too light to read. Page is: http://www.busyneedlebatting.ch/gallery/ When you click on any pic to open the portfolio, you’ll see the problem at the bottom. Absolutely maddening. I want to change the colour ONLY on the gallery pages because it’s a light background.

    Thanks for any input.

    elita.sharpe@live.com

    @elitasharpelivecom

    Have been given the answer from Woothemes, supplier of the Empire theme.
    Was told to insert:

    .pp_description,
    .currentTextHolder {color:black}

    at the TOP of my custom css file. This did the trick. Thanks to Stuart, WooNinja. Hope others might find it useful too.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: File Gallery] How to change caption text color’ is closed to new replies.
Skip to toolbar