WordPress.org

Ready to get started?Download WordPress

Forums

Alt text not showing up when hovering over images (9 posts)

  1. kricklewoodfarm
    Member
    Posted 1 year ago #

    I have a text widget in my sidebar and have set up images and links to facebook, youtube, etc. None of my 'alt' tags are working in firefox, chrome or ie.

    [please read http://codex.wordpress.org/Forum_Welcome#Posting_Code and mark any posted code accordingly - codes posted without backticks or the code button will get corrupted]

    Here is the code: <p><img src="http://www.kricklewoodfarm.com/images/buttons/facebook_square.jpg" border="0" alt="Kricklewood Farm on Facebook">
    <img src="http://www.kricklewoodfarm.com/images/buttons/youtube_square.jpg" border="0" alt="Kricklewood Farm Videos on Youtube">
    <img src="http://www.kricklewoodfarm.com/images/buttons/picassa_square.jpg" border="0" alt="Kricklewood Farm photo albums at Picassa">

    <img src="http://www.kricklewoodfarm.com/images/buttons/icontact.jpg" border="0" alt="Newsletter Signup">
    </p>

    I did a search on this and got references to a plugin which hasn't been updated for 2 years so thought I would start anew.

    Thanks!

    Dale

  2. codingpet
    Member
    Posted 1 year ago #

    Hi Dale,

    Why do you think the Alt isn't working? It works fine. If the facebook image not display, then "Kricklewood Farm on Facebook" will display.

    Maybe you want to add title = "Kricklewood Farm on Facebook" ???

  3. kricklewoodfarm
    Member
    Posted 1 year ago #

    Do you see the text when hovering over the image? I tried on my machine using google chrome, ie and firefox.... none of them showed it.

    http://www.kricklewoodfarm.com/

    Thanks

    Dale

  4. codingpet
    Member
    Posted 1 year ago #

    When hovering over the image, it text is title attribute not alt attribute. Alt attribute will display when the image path is incorrect or can't be loaded.

    So please add title="Kricklewood Farm on Facebook" behind the alt="Kricklewood Farm on Facebook". Please make sure to add a blank between each attributes.

  5. kricklewoodfarm
    Member
    Posted 1 year ago #

    ok, that works. Thank you. Come out and visit the farm if you are in the area, pet a goat and a pot-bellied pig!

    Dale

  6. codingpet
    Member
    Posted 1 year ago #

    :) great it works.

    I have a pet pig but not pot-bellied.

  7. kricklewoodfarm
    Member
    Posted 1 year ago #

    Really? What kind? Where do you live?

  8. codingpet
    Member
    Posted 1 year ago #

    China.

    This kind but bigger than this one as he's more than 3 years. http://www.yzhyw.com/uploadfile/2012/0529/20120529110155876.jpg

  9. kricklewoodfarm
    Member
    Posted 1 year ago #

    cute, what breed is that? Is is living in a house or apartment or farm? One of our pigs came from someone who had her in an apartment. They got tired of carrying her up and down 4 flights as she got bigger...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags