I'm trying to change the site name color in danland theme in D7.

I've tried all sorts of solutions..... not exactly sure where to go with it now. My suspicion is that it would be controlled by css. The string for which is:
.site-name {
display: above;
font-weight: bold;
font-size: 30px;
margin-left: 15px;
position: relative;
font-family: Copperplate, Verdana, Tahoma;
font-style: normal;
}

I've tried adding: color: #ff8c00;
but it doesn't change anything. What gets me is that the stock site name in Danland is blue lettering that changes orange when you mouse over it, but I cannot find the code that makes that effect happen.

Anyone have a clue for me?

Comments

Solved.

I have these problem, could you tell how do you solve it?

Site-name is defined as link in page.tpl.php.

One way to control site-name is to modify line 18 and 22 of the page.tpl.php

Line 18 from

<h1 class="site-name"><a href="<?php print $base_path ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h1>

to

<h1 class="site-name"><?php print $site_name ?></h1>

Line 22 from

<h2 class="site-name"><a href="<?php print $base_path ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h2>

to

<h2 class="site-name"><?php print $site_name ?></h2>

Now you can control with

.site-name {
color: #xxxxxx
}

If you want to maintain the 'home' button functionality of the site-name, you can also add the following in danblog.css

.site-name a {
color : [hex color value];
}

nice place to put it is around line 48