Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Making Sidebar image 'clickable' (link it) (http://forum.bytesforall.com/showthread.php?t=2539)

marco Jul 20, 2009 10:06 AM

[SOLVED] Making Sidebar image 'clickable' (link it)
 
Hello to all,

I have added an image to the sidebar using the text widget. I would like to like to link the image to one of my pages.

This is what I have entered below. The img src part added the image with no problem, but the div id part is not making the image clickable. Any ideas or suggestions.

Thank you all.
marco
www.triple2seven.com

<img src="/wp-content/themes/atahualpa/images/custom-tshirts-cropped-txt.jpg" alt="Custom T's" />
<div id="bannerclick">
<a onclick="BannerClick" target="http://triple2seven.com/?page_id=6" href="">
<img style="border: 0pt none ;" alt="" src="" />
</a>
</div>

Flynn Jul 22, 2009 12:21 PM

That clickable part is something specific for the header images. Use

<a href="link"><img src="/path/to/image.gif" /></a>

Monkey_Fist Jul 22, 2009 10:18 PM

My site is loaded with clickable images in the sidebars. I upload the image to an "Images" (private) page, update the page, then in Windows Live Writer, i create a "new post", bring the image in thru "insert image from the web", highlight it, and put the url i want it to link to in the "link image to url" space.

then change view to "html view", select all, copy and paste into a new text widget. it takes seconds and works fine.

marco Jul 23, 2009 07:00 AM

Thank you all for your help. I have since resolved this. Now onto more issues, or 'learning experiences'.

This isssue is closed for me.

Marco


All times are GMT -6. The time now is 11:14 AM.

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