coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: digerati on May 25, 2006, 05:29:12 AM

Title: Help with text color
Post by: digerati on May 25, 2006, 05:29:12 AM
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)
Title: Re: Help with text color
Post by: Tranz on May 25, 2006, 05:40:24 AM
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?
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 05:50:28 AM
No I cant the site is not public yet.
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 05:54:38 AM
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 !
Title: Re: Help with text color
Post by: Tranz on May 25, 2006, 06:00:20 AM
Edit .tableb color in your stylesheet.

Check out the Colorzilla extension if you use Firefox.
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 06:02:51 AM
That only made the background white and not the text
Title: Re: Help with text color
Post by: Tranz on May 25, 2006, 06:06:57 AM
Post your code for .tableb which gave that result.
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 06:17:36 AM
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;
}
Title: Re: Help with text color
Post by: Tranz on May 25, 2006, 06:23:30 AM
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.
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 06:24:32 AM
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;
}

??????????
Title: Re: Help with text color
Post by: Tranz on May 25, 2006, 06:39:22 AM
You need a semi-colon at the end of each line. Check out this css tutorial: http://www.w3schools.com/css/default.asp
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 02:56:29 PM
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.
Title: Re: Help with text color
Post by: digerati on May 25, 2006, 11:02:01 PM
I got it

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

.alblink a:hover {
        color: #88954E;
        text-decoration: underline;
Title: Re: Help with text color
Post by: Joachim Müller on May 26, 2006, 08:27:23 PM
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.