forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: gone4now on March 17, 2005, 02:26:45 pm

Title: Change category text color
Post by: gone4now on March 17, 2005, 02:26:45 pm
Ive looked & looked....

How do I change the text color in the picture to white.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.joshspencer.com%2Fphoto%2Fracingjpg.jpg&hash=2d0fbf5e5ed9bb4fd951283eb90ddd4143456ee2)

Ive tryed changing about every table I could.

Thanks
Title: Re: Change category text color
Post by: kegobeer on March 17, 2005, 04:35:42 pm
Look in your theme's style.css file.
Title: Re: Change category text color
Post by: gone4now on March 17, 2005, 05:58:05 pm
ive tryed changing about every table in there.....nothing changes it
Title: Re: Change category text color
Post by: kegobeer on March 17, 2005, 06:04:52 pm
It might not be a font declaration in a table class.  It could be a span.  Look in theme.php for a possibly hardcoded font color and/or a style attribute.
Title: Re: Change category text color
Post by: gone4now on March 17, 2005, 08:30:09 pm
still cant find it  :( .......thanks for the help
Title: Re: Change category text color
Post by: kegobeer on March 17, 2005, 08:39:05 pm
This changes the album title link colors:

.alblink a {
        text-decoration: underline;
        color: #000000;
}

.alblink a:hover {
        color: #000000;
        text-decoration: underline;
}

Title: Re: Change category text color
Post by: gone4now on March 17, 2005, 08:45:02 pm
Yup....changed those to #FFFFFF  (white) long time ago

but they are still blue.


.alblink a {
        text-decoration: underline;
        color: #FFFFFF;
}

.alblink a:hover {
        color: #FFFFFF;
        text-decoration: underline;
Title: Re: Change category text color
Post by: kegobeer on March 17, 2005, 08:54:06 pm
What do you have in .tableh2?
Title: Re: Change category text color
Post by: gone4now on March 17, 2005, 09:01:36 pm
.tableh2 {
        background: #FF0000 ;
        color : #FFFFFF;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
Title: Re: Change category text color
Post by: Joachim Müller on March 18, 2005, 09:24:00 am
might be an issue with your custom theme, post a link to your site so we can have a look.

Joachim
Title: Re: Change category text color
Post by: gone4now on March 18, 2005, 01:57:48 pm
http://www.joshspencer.com/cpg132/
Title: Re: Change category text color
Post by: kegobeer on March 18, 2005, 05:17:00 pm
The problem is the way the CSS is written.  This doesn't do anything:

.alblink a

But this does

a.alblink

There should also be more of a breakdown:

a.alblink:link
a.alblink:visited
a.alblink:hover

So, your links should be like this:

a.alblink, a.alblink:hover {
text-decoration: underline;
color: #ffffff;
}

I consolidated them since they are exactly the same.  If the hover was different, there would be two classes instead of one.

Now, if the class is to be used in a div, span or something like that, then you use .alblink a:link, etc.
Title: Re: Change category text color
Post by: gone4now on March 18, 2005, 08:02:36 pm
BINGO!


Worked like a charm!

Thanks so very much!