• Resolved ajnphoto

    (@ajnphoto)


    Hi,

    Can anyone tell me which template is used for the blog posts section and what code I add/amend to enable the title/alt text on mouseover?

    I basically want a copyright notice to appear when a visitor moves their cursor over ALL images on the site.

    Currently when I move the mouse cursor over an image on any page of my website the title/alt text appears as it should. However when I move the mouse cursor over an image in a blog post the text does not display, even though all images attached to the posts have my copyright notice as the title/alt text.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The alt attribute is added to all images by default in WordPress but (quite correctly) most web browsers do not display the alt text value as a tooltip (with the exception of IE – which is very much in the wrong here). The alt attribute is meant to contain text that will be used if the image is not displayed or the visitor is using a non-graphical browser, so it’s completely inappropriate to use it for copyright details.

    You need to look at using the title attribute via the http://wordpress.org/extend/plugins/restore-image-title/ plugin.

    Thread Starter ajnphoto

    (@ajnphoto)

    Many thanks Esmi!

    Can the plugin be deactivated/un-installed once it had done it’s job of restoring the image title, or do I need to keep it activated?

    I like to keep the number of plugins to a minimum…

    Thanks

    You must keep the plugin active if you wish to use the title attribute on images.

    Thread Starter ajnphoto

    (@ajnphoto)

    Sure. Will do

    Thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title/Alt Text on Mouseover Missing’ is closed to new replies.