Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Clickable WordPress Header in 2.5 Re: Clickable WordPress Header in 2.5

#47263
CoopFLY
Member
"box" wrote:
You don’t need the extra headerimg div – all you’ve done is place a div inside a div, thus bloating your code. Simply add your image as a background to the h1 tag and include all of your text as a single link. The add display:block to that link. i.e.

Code:
#header h1 a{
display:block;
}

…then your link will be clickable. Make sure your h1 height and width match that of you image.

I’m sorry but i am a little confused could you show me. I can not figure out the placement of everything your talking about. I am a newb…sorry :D