Change category text color Change category text color
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Change category text color

Started by gone4now, March 17, 2005, 02:26:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gone4now

Ive looked & looked....

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

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

Ive tryed changing about every table I could.

Thanks

kegobeer

Look in your theme's style.css file.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

gone4now

ive tryed changing about every table in there.....nothing changes it

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

gone4now

still cant find it  :( .......thanks for the help

kegobeer

This changes the album title link colors:

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

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

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

gone4now

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;

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

gone4now

.tableh2 {
       background: #FF0000 ;
       color : #FFFFFF;
       padding-top: 3px;
       padding-right: 10px;
       padding-bottom: 3px;
       padding-left: 10px;

Joachim Müller

might be an issue with your custom theme, post a link to your site so we can have a look.

Joachim


kegobeer

#11
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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

gone4now

BINGO!


Worked like a charm!

Thanks so very much!