[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> |
That clickable part is something specific for the header images. Use
<a href="link"><img src="/path/to/image.gif" /></a> |
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. |
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.