Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Tooltip for Logo (http://forum.bytesforall.com/showthread.php?t=11419)

nhfang Nov 28, 2010 06:50 AM

[SOLVED] Tooltip for Logo
 
Does anyone know how to get a tooltip or alt text in for the logo?

lmilesw Nov 28, 2010 01:03 PM

Instead of using the logo name in the logo box use an image along with %logo. You will have to fiddle a bit with the CSS for positioning and also set the title for the image to what you want the tooltip to be.

nhfang Nov 28, 2010 09:14 PM

Thanks, does that mean I should insert an image tag with title in the logo box, eg: <img src="images/logo.jpg" title="title">.
Where should the %logo fit in?

lmilesw Nov 28, 2010 09:44 PM

I was thinking of something like the following in the Configure Header Area box where the %logo is now. You of course have to use the proper atahualpa folder name.
HTML Code:

<div id="mylogo"><img class="alignleft" title="title" src="/wp-content/themes/atahualpa353/images/logo.jpg" />%logo</div>
and take out the logo name from the logo box. That should wrap float you logo to the left of the blog title and anything you put for title will show as the tooltip.

nhfang Nov 29, 2010 12:58 AM

Yeah it works! Thanks!! :)


All times are GMT -6. The time now is 08:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.