Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / problem changing text colour on top ez pages bar

problem changing text colour on top ez pages bar

Locked

Views: 1,840

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
1 Jun 2010, 1:13 PM
#1
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

problem changing text colour on top ez pages bar

our site: https://www.artifaxonline.co.uk/t-shirts

the top black bar contains ez pages links to home, log in, blog, contact us, but only shows as orange when you have visited it and not before.

the following bit of code changes the font size but when we change the font colour from black to orange it only changes the spacer markings in between the words but not the words. we want the words to be orange. tried changing all sorts of bits of code but nothing seems to work.

now very very stuck:frusty:

any help would be great :D

#navEZPagesTop {
font-size:1.4em;
font-weight:;
text-align: center;
margin: 0em;
padding: 0.8em;
color: #000000
}

1 Jun 2010, 1:18 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: problem changing text colour on top ez pages bar

artifaxworthing:

our site: www.artifaxonline.co.uk/t-shirts

the top black bar contains ez pages links to home, log in, blog, contact us, but only shows as orange when you have visited it and not before.

the following bit of code changes the font size but when we change the font colour from black to orange it only changes the spacer markings in between the words but not the words. we want the words to be orange. tried changing all sorts of bits of code but nothing seems to work.

now very very stuck:frusty:

any help would be great :D

#navEZPagesTop {
font-size:1.4em;
font-weight:;
text-align: center;
margin: 0em;
padding: 0.8em;
color: #000000
}

First look for these ID's in the stylesheet.css if not:
Add this to the bottom of the stylesheet.css:

#navEZPagesTop a {color: #FFFFFF;}

#navEZPagesTop a:hover: {color: #FF0000;}

1 Jun 2010, 1:20 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: problem changing text colour on top ez pages bar

#navEZPagesTop **a **{
color:#e5a656;
}

Edit - The rabbit's faster than the puppets ... again.

1 Jun 2010, 1:21 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: problem changing text colour on top ez pages bar

@stevesh

Way too much coffee this morning... LOL

1 Jun 2010, 3:02 PM
#5
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

Re: problem changing text colour on top ez pages bar

no, doesn't work :no:

i have added in the code (as above) at the bottom of css style sheet, but it does not work. The only code we have existing for
navezpagestop only changes the ::: we have in between each category from black to orange but won't change the words.

Where have i gone wrong :(

1 Jun 2010, 3:04 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: problem changing text colour on top ez pages bar

1 Jun 2010, 3:30 PM
#7
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

Re: problem changing text colour on top ez pages bar

yes, thats the right one, when we use the firefox tool over the words it lists:

<a href= 'http://artifaxonline.co.uk/t-shirts/">home<a/>

it has one entry like this for each of the ez pages we have created, not sure if this has anything to do with it at all. the only ezpagestop code I have is as follows but this is the bit that only changes the spacer bits not the actual words

#navEZPagesTop {
font-size:1.4em;
font-weight:;
text-align: center;
margin: 0em;
padding: 0.8em;
color: #000000

very very confused !!!!!

thanks for your help :D

1 Jun 2010, 5:58 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: problem changing text colour on top ez pages bar

The statement haredo and I gave you is correct. You need to add it to the stylesheet, and don't forget the 'a'.

(What you're doing is styling the **links **in that id - that's what the 'a' means.