Help with text color Help with text color
 

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]

Main Menu

Help with text color

Started by digerati, May 25, 2006, 05:29:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

digerati

what part of the style.css is the text color of this image located? I want it to be white and I keep messing with the css and it just ends up changing the wrong things white.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2F24.117.16.55%3A8080%2Fjunk%2Fpictures%2Fclassiccpg.jpg&hash=bed0ec5a5c5f033f77d076c3e1976071d07547ca)

Tranz

I can't find a page that shows the text. Could you post a link to the page in your gallery that shows that text?

digerati

No I cant the site is not public yet.

digerati

I can do this though.

Here is the image and the text is black so you cant see anything.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2F24.117.16.55%3A8080%2Fjunk%2Fpictures%2Fgallery-with-black-text.jpg&hash=df722f670deb9a12c0f8dcecf12ad7e8d5532b97)


Now here is the same gallery index with ctrl A pressed to highlight everything and you can see the black text revealed.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2F24.117.16.55%3A8080%2Fjunk%2Fpictures%2Fgallery-ctrl-A.jpg&hash=9dd4e862e4987a3737a5403862e7b2a0a9327ab3)

I need a CSS masters help !

Tranz

Edit .tableb color in your stylesheet.

Check out the Colorzilla extension if you use Firefox.

digerati

That only made the background white and not the text

Tranz

Post your code for .tableb which gave that result.

digerati

Before ----

.tableb {
        background: #333333 ;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}


After ----

.tableb {
        background: #FFFFFF ;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

Tranz

You changed the background value, that dictates the background color.

To change font color, you need to add a line for color and specify the color you want to use.

digerati

I thank you for your time.

Like this:

.tableb {
        background: #333333 ;
        color: #FFFFFF
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

??????????

Tranz

You need a semi-colon at the end of each line. Check out this css tutorial: http://www.w3schools.com/css/default.asp

digerati

That DID work for that part, However I am still haveing the toughest time finding the are to change for the Album Names. They are Currently black and I need them white.

digerati

I got it

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

.alblink a:hover {
        color: #88954E;
        text-decoration: underline;

Joachim Müller

Use the Web Developer Toolbar or the Web Accesibility Toolbar as suggested in http://forum.coppermine-gallery.net/index.php?topic=31423.0 to find out what css class controls which section of the screen.