How can I change gallery caption color only?

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

How can I change gallery caption color only?

Postby Birchlight » 19 Apr 2012, 07:09

I have changed the background of my gallery pages using the Custom Post Background plugin, but now the thumbnail captions are a little hard to read (see http://www.wellofstars.com/Blog/oil-paintings/). How can I change the text color on the captions without changing the main blog text color?
Birchlight
 
Posts: 9
Joined: 04 Apr 2012, 12:59
Location: Lake Elmore, Vermont

Re: How can I change gallery caption color only?

Postby Colin » 19 Apr 2012, 08:19

In Suffusion Options > Back-End > Custom Includes > Custom Styles put

Code: Select all
.gallery-caption {color:#ffffff;}


Change the ffffff to the appropriate hex number for the colour that you want
Colin
 
Posts: 2784
Joined: 27 Oct 2009, 10:46

Re: How can I change gallery caption color only?

Postby Birchlight » 19 Apr 2012, 11:01

Thank you so much, Colin! Someday I'll get the hang of this, but in the meanwhile it's so heartening when someone helps! :)
Birchlight
 
Posts: 9
Joined: 04 Apr 2012, 12:59
Location: Lake Elmore, Vermont

Re: How can I change gallery caption color only?

Postby Birchlight » 22 Apr 2012, 09:07

Oh dear, I've been working so hard on the Gallery pages I didn't notice that the text on the right sidebar widgets of the main Blog page http://www.wellofstars.com/Blog/ has changed to the same color as the thumbnail captions. I can't find anything in Typography to change it back. Does it need another bit of code to get it legible again, without changing the thumbnail caption color?
Birchlight
 
Posts: 9
Joined: 04 Apr 2012, 12:59
Location: Lake Elmore, Vermont

Re: How can I change gallery caption color only?

Postby Colin » 22 Apr 2012, 09:46

You will need some more custom css, give this a try

Code: Select all
#sidebar a, #sidebar-2 a, #sidebar-container a {color:#ffffff;}
#sidebar a:visited, #sidebar-2 a:visited, #sidebar-container a:visited {color:#ffffff;}
Colin
 
Posts: 2784
Joined: 27 Oct 2009, 10:46

Re: How can I change gallery caption color only?

Postby Birchlight » 22 Apr 2012, 10:27

Thank you again Colin! I can't tell you how happy it makes me both to have the answer and to feel there's someone supportive out there. Makes me believe that if I keep at it, I may even make sense of it all (well, some of it). :lol:
Birchlight
 
Posts: 9
Joined: 04 Apr 2012, 12:59
Location: Lake Elmore, Vermont


Return to Support Requests

Who is online

Users browsing this forum: aliedisse, crucounty, Google [Bot], HeiseFups, richardgatley, twectorry and 0 guests