• Hey guys, I’m a newbie in every sense of the word with regards to WordPress and html. I have searched this question in the forums here and I’ve found several posts with answers but none of the suggested solutions seem to be working for me.

    I have an image at the bottom of my sidebar and I would like to make it a clickable link. The image has been placed successfully but I can’t seem to get it working as a link. Here’s what I have to place the image under a header:

    <h2>MOBILE9
    </h2>
    <img style=”padding-top: 3px; padding-left: 10px;” src=”https://img68.imageshack.us/img68/6868/m9bannerly4.png&#8221; alt=”mobile9 button” border=”0″ />

    So how do I make that image a link? The blog is at https://news.mobile9.com/s60apps/. Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • wrap the img tag with a href:

    <a href="https://www.site.com"><img></a>

    Thread Starter echozulu

    (@echozulu)

    Worked perfectly, thanks so much for your help emmons!

    I was using a href but putting it in the wrong spot. ??

    Now I’ll continue searching the forum but is there something that I can add that will force the link to open in a new tab/window?

    Thanks again guys, great forum here.

    <a href="https://www.site.com" target="_blank"><img></a>

    Thread Starter echozulu

    (@echozulu)

    Once again, thanks for your fast and affective help emmons. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Clickable image in sidebar’ is closed to new replies.