Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Custom Hyperlink My Header Image... (http://forum.bytesforall.com/showthread.php?t=14262)

kmages May 21, 2011 04:54 PM

[SOLVED] Custom Hyperlink My Header Image...
 
This seems very stupid but I can't figure out how to do two things.

1. Make my header image permanent (won't change after upgrades)

2. Hyperlink the image to something other than the homepage.

Thanks,

kgm

www.nfcdata.com/blog

aQuickStudy May 21, 2011 05:29 PM

I think you could solve both these with the "Overlay Header Image" section at the bottom of the Header Image tab.

kmages May 21, 2011 05:32 PM

You are kind for answering. I tried but failed at that. All I want to do is make the .jpg in the header permanent and link somewhere other than back to the home page.

Thanks much.

kgm

www.nfcdata.com/blog

lmilesw May 21, 2011 07:31 PM

You could put a hyperlinked image in the Configure Header Area box.

kmages May 21, 2011 07:39 PM

I tried using the code in the example but I modified it:

<div id="header_image_sociable">
<ul>
<li><a href="http://www.sqwizz.com/">
<img src="<?php echo site_url(); ?>/wp-content/images/silver.jpg"
</ul>
</div>

I FTP'd the .jpg the a folder in my WordPress which I called "my-images". Have a look at www.nfcdata.com/blog

The link works, the .jpg is broken and not centered and has a bullet.

Kind thanks.

aQuickStudy May 21, 2011 07:53 PM

If you called the folder "my-images" your link would need to be:

/wp-content/my-images/silver.jpg

Is the folder within wp-content?

Is your URL changing? Why not just use the full URL (instead of the PHP)?

The bullet is because of the list tags. Probably the spacing, too.

kmages May 21, 2011 07:53 PM

I think I just fixed it. Pretty cool. Thanks again!


All times are GMT -6. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.