3 replies [Last post]
Hanscraft
Hanscraft's picture
Offline
Regular
Last seen: 7 years 6 weeks ago
Timezone: GMT-4
Joined: 2010-05-13
Posts: 26
Points: 46

The website: http://www.amandagoodman.com

I've been investigating the problem in changing the color of the Amanda Goodman link at the top of the page. I've tried to put it in a div but that wouldn't call it in either.

I tried to change this:

#header h1 {
	padding: 30px 0 16px 0;
	font-family: Georgia;
	font-size: 3.2em;
}

to

#header h1 a:link {
	padding: 30px 0 16px 0;
	font-family: Georgia;
	font-size: 3.2em;
}

but that didn't work either. Any suggestions?

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 2 years 5 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

maybe try #header h1 a:link,

maybe try #header h1 a:link, #header h1 a:visited { ... }

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Delos
Delos's picture
Offline
newbie
Upstate NY
Last seen: 8 years 26 weeks ago
Upstate NY
Timezone: GMT-5
Joined: 2011-01-16
Posts: 2
Points: 2

You could try adding a

You could try adding a color:#ff0000; statement...

FernE97
FernE97's picture
Offline
Enthusiast
Dublin, CA
Last seen: 24 weeks 6 days ago
Dublin, CA
Timezone: GMT-8
Joined: 2007-01-10
Posts: 176
Points: 44

Hanscraft wrote: The website:

Hanscraft wrote:

The website: http://www.amandagoodman.com

I've been investigating the problem in changing the color of the Amanda Goodman link at the top of the page. I've tried to put it in a div but that wouldn't call it in either.

I tried to change this:

#header h1 {
	padding: 30px 0 16px 0;
	font-family: Georgia;
	font-size: 3.2em;
}

to

#header h1 a:link {
	padding: 30px 0 16px 0;
	font-family: Georgia;
	font-size: 3.2em;
}

but that didn't work either. Any suggestions?

You already declared the link to be white with this line..

#header h1 a {
color: #ffffff;
}

change it to a different color from there. If you want to target only the home page, add a class or id to the body tag and specify it with something like this..

#home #header h1 a { color:#666; }

You can add this to your body tag in wordpress to give each page a specific id or class

<body <?php if (is_front_page()) { ?> id="home"<?php } elseif (is_home() || is_single() || is_archive()) { ?> id="blog" <?php } else { ?> id="interior" class="<?php $post_data = get_post($post->post_parent); echo $slug = $post_data->post_name; ?>"<?php } ?>>