Linking a Background Header
-
Hi all,
Thanks in advance for reading this!I’m trying to link my header to my homepage, but I know virtually nothing about CSS or PHP.
I tried this article but I couldn’t get it to work with my theme.The relevant part of my style sheet is:
.header { background: url('img/stripes.jpg') no-repeat; border-bottom: 1px solid #EEE; height: 160px; margin-bottom: 24px; } .header h1 {display:none; color: #222; font: normal 4em sans-serif; margin-top: 40px; text-align: center; }
And I assume the relevant part of my header is:
<div class="left"> <div class="header"> <h2><span><?php bloginfo('description'); ?></span></h2> <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> </div>
I’ve looked in some other threads, but I must admit… I’m stumped.
If anyone can help, I’d really appreciate it.
Thanks!
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Linking a Background Header’ is closed to new replies.