Share this post

Link to post

Share on other sites

cmunns
16

cmunns 16

Open your header.php file and look for some code that looks like or similar to this:
`
<?php if(pagelines('custom_header')):?>
`
Then change what's inside of the href="" to wherever you want it to link.

Share this post

Link to post

Share on other sites

mhulnick
0

mhulnick 0

Thanks for getting back so fast!
I probably should have started with a more difficult task, this was a good fix to hold me over in the mean time...
I am familiar with html a little but not php.
Is it possible to have a logo for instance link to my home page and another image link else were.
(my goal is to set up two or more images, or areas that link to different places, in the custom header). Has anyone done this for the white house theme.
Thank you again for your help!!!!!

Share this post

Link to post

Share on other sites

cmunns
16

cmunns 16

No problem!
You will have to hardcode the images into the header using html instead of the custom header function as that only allows one image. If you are familiar with html this should be easy enough.

Share this post

Link to post

Share on other sites

mhulnick
0

mhulnick 0

I have the code I would like to use, just not 100% sure where to put it in the header php, so I don??™t mess up the file or possible the entire home page:
<table width="962" border="0" cellspacing="0" cellpadding="0">
<tr height="115">
<td width="222" height="115"></td>
<td width="740" height="115"></td>
</tr>
</table>

Share this post

Link to post

Share on other sites

mhulnick
0

mhulnick 0

Now I don't remember what I code i pasted. It may have been linking to my desktop, but no broken links.
This worked:
<div class="headline"><table width="960" border="0" cellspacing="0" cellpadding="0">
<tr height="115">
<td width="222" height="115"></td>
<td width="740" height="115"></td>
</tr>
</table>
<?php if(pagelines('custom_header')):?>
<?php else:?>
I also used your advices from a previous thread that centered it:
"On line 47 of your css stylesheet you need to change the width for #header to 960px.
currently it is set at 940px."
It's awesome when this stuff actually starts to come together. Now the only problem is my boss might start to think I can do anything