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)
-   -   [SOLVED] Widget title background image only on home page (http://forum.bytesforall.com/showthread.php?t=16808)

pmac Feb 21, 2012 10:59 AM

[SOLVED] Widget title background image only on home page
 
Hi Everyone,

using wp 3.3.1 and ATA 3.7.3. At meredithmustard.com you'll see a red dot next to the widget titles. If you navigate to another page, those dots disappear. Can't figure out why they only show up on the home page. Here is what I have in CSS inserts:

div.widget-title {
background: url(wp-content/themes/atahualpa/images/red-dot.jpg) top left no-repeat;
display: block;
width: auto;
height: 15px;
padding-left: 18px;}

Any ideas? Thanks!

juggledad Feb 21, 2012 11:52 AM

change the CSS for the widget title from
HTML Code:

background: url("wp-content/themes/atahualpa/images/red-dot.jpg") no-repeat scroll left top transparent;
to
HTML Code:

div.widget-title {
    background: url("/wp-content/themes/atahualpa/images/red-dot.jpg") no-repeat scroll left top transparent;
    display: block;
    height: 15px;
    padding-left: 18px;
    width: auto;
}


pmac Feb 21, 2012 01:36 PM

Perfect. Thanks!


All times are GMT -6. The time now is 06:54 AM.

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