Forums / Templates, Stylesheets, Page Layout / Dueling Text Colors are driving me crazy...

Dueling Text Colors are driving me crazy...

Locked

Started by nyrad on 12 Dec 2008, 10:50 PM · Views: 1,044

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 Dec 2008, 10:50 PM
#1
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Dueling Text Colors are driving me crazy...

The new products page in the center column on my site has a problem with my text color choices:

http://civilwardocs.com/zencart/index.php?main_page=index&cPath=74

I need the product description text in the cream colored area to have text colored #635951, but when I change the css ( i thought it was "a"), it also changes the New Products links in the left sidebar from #fdf0db to #635951 and vice versa..I thought the .centerboxwrapper would do it, but no.......

.centerBoxWrapper {
border: 1px solid #9a9a9a;
height: 1%;
margin: 1.1em 0;
color: #635951;
}

:lamo:

12 Dec 2008, 11:42 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dueling Text Colors are driving me crazy...

Do you use FireFox Browser with Web Developer Toolkit (or FireBug) Add-ons?

If not, get these essential diagnostic tools, and you'll be able to answer many more of your own questions.

20 years a Zencart User

12 Dec 2008, 11:51 PM
#3
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Dueling Text Colors are driving me crazy...

yes i do, but i think my mind is fried..............:censored:

honestly, any help would be appreciated...when i change a. it makes the side boxes too dark

13 Dec 2008, 12:55 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Dueling Text Colors are driving me crazy...

Never change a generic sitewide rule like "a {}" when you want to change some specific element. Look for the containing element tag and combine that with the a, like

.centerBoxWrapper a {

which will target links in the centerbox.

13 Dec 2008, 2:51 AM
#5
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Dueling Text Colors are driving me crazy...

i appreciate your help....i did not realize that.............:clap:

15 Dec 2008, 5:50 PM
#6
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Dueling Text Colors are driving me crazy...

would i use the same style syntax for the links in the h1 and h2 areas?

15 Dec 2008, 11:12 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Dueling Text Colors are driving me crazy...

Similar; it depends on what element encloses the h1 and h2 in question.
The hi and h2 may well have ids of their own, which would be good to address them by.

16 Dec 2008, 1:35 PM
#8
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Dueling Text Colors are driving me crazy...

thanks for your guidance; i know that it must get old helping out new zenners, but i really appreciate the input that i have received....will repay somewhere down the road.