Gallery caption color

  • Author
    Posts
  • #2050963

    In the yoko theme, how can I change the caption color? I’ve tried a few things in the css editor, but nothing seems to work

    The blog I need help with is connierobertspoet.com.

    #2051100

    lizthefair
    Staff

    Try this:

    #content .gallery-caption{
         color: <your color>;
    }

    Just replace “<your color>” with a color word (like blue) or the hex code of the color you want.

    Let me know if you have any trouble!

    #2051103

    I put this in the CSS revisions (CSS Stylesheet Editor):

    #content .gallery-caption {
    color: 851e0e;
    }

    It didn’t change anything. Am I in the wrong spot? Or do I need other coding around it?

    #2051109

    lizthefair
    Staff

    try adding a “#” to the front of the color number. That should take care of it. :)

    The full block of code would look like this:

    #content .gallery-caption{
         color: #851e0e;
    }
    #2051134

    Didn’t work – but I noticed if my gallery was thumbnails it does change it. I should have been clearer from the start, my gallery is a slideshow. Sorry about that – I appreciate your help!! :)

    #2051135

    lizthefair
    Staff

    Could you send me a link to the gallery in question? That will help a lot!

    #2051136

    lizthefair
    Staff

    Actually, I don’t think I need it. Try this:

    .slideshow-slide-caption{
        color: #851e0e !important;
    }
    #2051137

    Yippee! thank you, thank you, thank you

    #2051138

    lizthefair
    Staff

    My pleasure. Thanks for sticking with me through the process.

    #2051141

    No problem, thank you! By the way, how do you figure out what part of the css needs to change. I tried viewing the source code on the page, but couldn’t even find where it was. Maybe it’s not the page code but the style sheet. How can I view the style sheet for the Yoko theme?

    #2051142

    lizthefair
    Staff

    Happy to help! The place you need to go is “inspect element” rather than view source code.

    Here’s a useful article on how that works: http://dailypost.wordpress.com/2013/07/25/css-selectors/

    Good luck! Let me know if you have any more questions.

The topic ‘Gallery caption color’ is closed to new replies.