Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1010890

    I’m trying to add a link to a Chinese version of our site, so I’d like to add a Chinese flag that hyperlinks to that site in my footer widget text instead of hyperlinking text.

    The code I used is below, but I’m not sure how to input an image link instead of text

    < a href=”URL”>text< /a >

    #1010897

    Hey arch2030,

    You have to upload the image to the WordPress Media library and the copy that url. So the code would look like this:

    <a href="url"><img src="linktoimg.jpg" /></a>

    Best regards,
    Jordan Shannon

    #1010994

    Great – that worked! The image is quite large, can I edit that code to define it’s width?

    #1010995

    Hi,

    Yes just add that value to the code:

    <a href="url"><img src="linktoimg.jpg" width="100px" /></a>

    Best regards,
    Jordan Shannon

    #1011007

    Perfect – thank you Jordan!

    #1011022

    Hi,

    No problem at all. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to add a hyperlinked image to footer widget text’ is closed to new replies.