Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Replacing widget titles with an image (http://forum.bytesforall.com/showthread.php?t=3194)

thehulk Aug 29, 2009 03:02 PM

Replacing widget titles with an image
 
Ive seen a couple of posts on here addressing this topic but somehow I can't make it work completely the only thing im having trouble with is getting rid of the title text in the widget cause when i do this it also removes the picture im trying to add to the title text this is what i have so far


div.widget-title h3 {
display:none;
}

div#recent-comments-3 div.widget-title {
background: url(My picture url in here) center left;
}

but nothing shows up

and when i take this off

div.widget-title h3 {
display:none;
}

the text and picture both show up on top of one another how can i take the text off and just leave the picture

appreciate the help thanks in advance

awesome theme by the way

Flynn Aug 31, 2009 07:59 AM

Another style might be interfering somehow, I'd have to see a URL, or use Firebug to find the reason

BradBrown Aug 31, 2009 08:57 AM

Without seeing your site this is just a guess, but I have a theory.

When you use display:none to remove the h3, the title div would be empty so it's height would shrink down to nothing. If that is the problem, you could either use visibility:hidden instead of display:none on the h3, or set a height on the title div.

Flynn Aug 31, 2009 10:48 AM

That could be it. Thank you, Brad


All times are GMT -6. The time now is 03:13 AM.

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