Adding link to logo in widget (6 posts)

  1. mark salter
    Posted 4 years ago #


    How do I add a link to a website from a logo in the widget side bar text. At the moment I can put a link below an image but not attached to the logo.

    My site is http://www.stepstohappiness.co.uk

  2. Abhishek Ghosh
    Posted 4 years ago #

    You want to link that logo of The National Council for Hypnotherapy ?

    Its easy HTML code :

    <a href="http://www.hypnotherapists.org.uk/" target="_blank">
    <img src="http://www.hypnotherapists.org.uk/nchmemberseal/3876.png" alt="Click here to visit The National Council for Hypnotherapy" />

    Copy it, paste it on a sidebar text widget (drag a new one or replace the old) and save it.

  3. mark salter
    Posted 4 years ago #

    This doesn't work. When I enter this an error message appears: "image cannot be loaded. Make sure path is correct and image exists"

    I tried this way thinking it would be correct, but i cannot work it out.

  4. Abhishek Ghosh
    Posted 4 years ago #

    The image is there on your server :


    Basically you will get these codes on any HTML resource websites like this : http://www.quackit.com/html/codes/html_image_link_code.cfm

  5. mark salter
    Posted 4 years ago #

    Yeah, I can get the image loaded onto the site.

    What I can't do is add the link to the site(NCH) onto the image??

    It should be as you indicated in your first response--but it does not work.

  6. Abhishek Ghosh
    Posted 4 years ago #

    That theme has some function or plugin that is trying to load the image on Lightbox like thing, that is the reason the code is not working.

    You have to deactivate it. You can contact the web designer / developer and show this thread. If you have paid him / her, ask him to correct the HTML validation errors : This Link.

Topic Closed

This topic has been closed to new replies.

About this Topic