Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Change category text color  (Read 5190 times)

0 Members and 1 Guest are viewing this topic.

gone4now

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Change category text color
« on: March 17, 2005, 02:26:45 pm »

Ive looked & looked....

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

(http://www.joshspencer.com/photo/racingjpg.jpg)

Ive tryed changing about every table I could.

Thanks
« Last Edit: March 18, 2005, 08:03:29 pm by TranzNDance »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Change category text color
« Reply #1 on: March 17, 2005, 04:35:42 pm »

Look in your theme's style.css file.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #2 on: March 17, 2005, 05:58:05 pm »

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Change category text color
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #4 on: March 17, 2005, 08:30:09 pm »

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Change category text color
« Reply #5 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;
}

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #6 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;
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Change category text color
« Reply #7 on: March 17, 2005, 08:54:06 pm »

What do you have in .tableh2?
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #8 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;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Change category text color
« Reply #9 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
Logged

gone4now

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #10 on: March 18, 2005, 01:57:48 pm »

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Change category text color
« Reply #11 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.
« Last Edit: March 18, 2005, 05:25:05 pm by kegobeer »
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Change category text color
« Reply #12 on: March 18, 2005, 08:02:36 pm »

BINGO!


Worked like a charm!

Thanks so very much!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.