如果此问题已被回答,请提前致歉,但我最难让我的标识链接到此处:http://testsite.brentthelendesign.com/。这是一个WordPress“基于骨架”的网站。任何帮助将不胜感激!代码如下。标题标题链接问题(WordPress)
HTML
<header class="left full header-bg">
<div class="container">
<div class="container-inside left">
<div class="sixteen columns">
<h1 class="logo abs"><a href="<?php echo get_option('home'); ?>"/></a></h1>
<nav>
<?php st_navbar(); ?>
</nav>
</div>
</div>
</div><!--container-->
</header>
CSS
h1.logo {
left:50%;
margin-left:-80px;
float: none;
text-align: center;
}
h1.logo a {
background:url(images/logo.png) no-repeat;
width:181px;
height:127px;
display:block;
text-indent:-9999px;
float: none;
text-align: center;
cursor: pointer;
}
.header-bg {
height: 190px;
background: url(images/bg-header.png) repeat;
}
哇。非常感谢...呃。我只是没有定义h1.logo img – beetheezy