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] Transparent background PNG WITH background color? (http://forum.bytesforall.com/showthread.php?t=4461)

interage Nov 16, 2009 10:36 AM

[SOLVED] Transparent background PNG WITH background color?
 
Hey all.

So I've got a client who is color-picky. I set up a page with a transparent PNG background, so we could try a bunch of different colors on the fly. But Athualpa seems to be ignoring the background color, and uses just the PNG.

padding-left: 250px;
font-family: tahoma, arial, sans-serif;
font-size: 0.8em;
color: #000000;
background: #339999;
background: url(/site/wp-content/themes/atahualpa/images/maryback.png) no-repeat top left;

Any thoughts?

Thanks!

M.

juggledad Nov 16, 2009 12:46 PM

Not an Atahualpa issue, it all CSS. Since you have two background statements, CSS uses the second, you need to combine them or use the long form of the css so use eithor
HTML Code:

background: #339999 url(/site/wp-content/themes/atahualpa/images/maryback.png) no-repeat top left;
or
HTML Code:

background-color: #339999;
background-image: url(/site/wp-content/themes/atahualpa/images/maryback.png) no-repeat top left;


interage Nov 16, 2009 12:59 PM

Hey!

Neither of those worked - but THIS did!

background: url(/site/wp-content/themes/atahualpa/images/maryback.png) no-repeat fixed top left;
background-color: #339999;

Thanks a bunch!!!

Best,

Mark


All times are GMT -6. The time now is 05:44 PM.

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