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] Images in widgets (http://forum.bytesforall.com/showthread.php?t=153)

bvision Jan 31, 2009 01:45 PM

[SOLVED] Images in widgets
 
In my http:\\www.bvision.nl blog I changed the colors to the colors used in the Montezuma theme. But how do I change the boxes next to the items in the sidebar to the used images in that theme? I tried in the widgetoptions: list-style-image: url('http://www.bvision.nl/wp-content/themes/atahualpa3/images/dart.gif');
that doesn't work. I tried the code in w3 and there it works well.:confused:

Flynn Jan 31, 2009 03:22 PM

Montezuma is not done with list-style-image but background-images

Not tested, I took this from the Montezuma theme

HTML Code:

.widget ul {
    margin:0;
    padding: 0;
    list-style : none;
    }
   
.widget ul li {
    margin: 0 0 2px 0; 
    list-style: none;
    line-height: 17px;
    position:relative;
    background: #b1b6d1 url(/wp-content/themes/atahualpa3/images/dart.gif) no-repeat top left;
    }
   
.widget ul li ul li {
    background: #b1b6d1 url(/wp-content/themes/atahualpa3/images/dart2.gif) no-repeat top left;
    }
   
.widget ul li a {
    text-decoration: none;
    font-weight: normal;
    color: #42476f;
    padding-left: 15px;
    display:block
    }
   
.widget ul li ul li a {
    padding-left: 18px;
    }
   
.widget ul li a:hover {
    text-decoration: underline;
    }
   
* html .widget ul li a {
    display:inline-block /* IE6 needs inline-block */
    }

Good job on matching Atahualpa to Montezuma.

bvision Feb 1, 2009 03:58 AM

Thanks a lot, I see there's a lot to figure out to implement this in 3.18. and afther that to consider by upgrades.


All times are GMT -6. The time now is 10:42 AM.

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