Forums / Templates, Stylesheets, Page Layout / Should be a simple fix... Can anyone help?

Should be a simple fix... Can anyone help?

Locked

Views: 1,165

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Jan 2009, 7:49 PM
#1
moabxj01 avatar

moabxj01

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Should be a simple fix... Can anyone help?

Ok I moved the EZ Pages header to the top right corner of my header. The only page listed right now is Contact Us. All I need to do is change the font color from black to white and also when you click on it, it changes to an ugly blue color. I've tried changing everything and can't for the life of me figure it out!

If someone could take a quick peak and tell me what I'm doing wrong I'd appreciate it! Thanks in advance!

http://www.elite-tungsten-rings.com

7 Jan 2009, 7:56 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Should be a simple fix... Can anyone help?

You wwill have to add conditions for link hover & visited for this tag and seperatr out ones that exist

Exists:

a:link, #navEZPagesTOC ul li a, #navEZPagesTop ul li a {
	color: #ffffff;
	text-decoration: none;
	}

Needs and adjust to suit

#navEZPagesTop ul li a {
	color: #ffffff;
	text-decoration: none;
	}
#navEZPagesTop ul li a:hover {
	color: #ffffff;
	text-decoration: none;
	}
#navEZPagesTop ul li a:visited {
	color: #ffffff;
	text-decoration: none;
	}

Zen-Venom Get Bitten

7 Jan 2009, 7:57 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Should be a simple fix... Can anyone help?

The black and the blue come from these entries in your stylesheet

a:visited {
color: #141618;
text-decoration: none;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #80A6B0;
}

a:active {
color: #0000FF;
}There are also some structural issues with your site around that link, e.g. you wrap it in another #navMain DIV, for no benefit that I can detect, but causing extra complications in the interpetation of your CSS and a validation error for the duplicated ID.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

7 Jan 2009, 8:24 PM
#4
moabxj01 avatar

moabxj01

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: Should be a simple fix... Can anyone help?

Thanks for the replies. I believe I did what you suggested but it is still the same. It is almost like something is overriding those tags or the stylesheet isn't being updated... Any other suggestions on what I could look at?

Or is there a way I can just add Contact Us and maybe a FAQ page next to the Home and Login links?

7 Jan 2009, 8:40 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Should be a simple fix... Can anyone help?

Try searching your stylesheet for other instances of #navEZPagesTop.

Do you have a backup copy of your stylesheet in the same folder? That could be causing the problem. --- OK, you don't have that.

7 Jan 2009, 8:48 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Should be a simple fix... Can anyone help?

You should delete the
, #navEZPagesTop ul li a
from

a:link, #navEZPagesTOC ul li a, #navEZPagesTop ul li a {
	color: #141618;
	text-decoration: none;
	}

There are no other instances of it beside your new set.

Here is the problem: your #navEZPagesTop has no <ul> list in it, it is simply a string of links. What you need in the stylesheet is```
#navEZPagesTop {
font-size: 0.95em;
font-weight: bold;
margin: 0em;
padding: 0.75em;
float: right;
}

#navEZPagesTop a {
color: #ffffff;
text-decoration: none;
}

#navEZPagesTop a:visited {
color: #ffffff;
text-decoration: none;
}

#navEZPagesTop a:hover {
color: #ffffff;
text-decoration: none;
}

7 Jan 2009, 8:58 PM
#7
moabxj01 avatar

moabxj01

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: Should be a simple fix... Can anyone help?

Ahhhh.... That did it... Thanks so much...