Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Background Image AND Background Color - is it possible? (http://forum.bytesforall.com/showthread.php?t=4538)

kippiper Nov 20, 2009 10:48 AM

Background Image AND Background Color - is it possible?
 
Hi guys!

I have a background image for a client's site that is really just an image at the top and then the rest of it down the page is a solid color.

The client's demo site is:

http://www.bestbiztips.com/dankhanna

Instead of making one very long image, is it possible to have the background image at the top and then background color for the rest?

If so, how do I code it? I've tried a couple of variations to no avail.

Thanks!

KIP

lmilesw Nov 20, 2009 11:09 AM

In the Body Style box under Body, Text & Links just put
HTML Code:

background: #E4E2D6 url(/wp-content/themes/atahualpa/images/image-name.png) no-repeat top left;
where the color is the background color you want. You will have to determine the positioning attributes for the image of course. This example just uses no-repeat top left which means the image will only be show once in the top left corner. Not sure how much you know about CSS so I'm sorry if I'm adding info you don't need.

kippiper Nov 20, 2009 04:19 PM

Well, dang! Thanks! This was the one combination I didn't consider.

Thanks bunches!

kippiper Dec 1, 2009 11:51 AM

Hi again, Larry -

Well, I tried this code but the background image is not showing. Am I missing something?

background: #f1ede4 url(http://www.bestbiztips.com/frederick.../images/bg.jpg) no-repeat fixed center top;

(And I have discovered the background image (on my background image-only sites) shows when I put in the full URL to the image.)

Thanks!

KIP

kippiper Dec 1, 2009 11:52 AM

NEVER MIND! Blonde moment.

samalama13 Feb 21, 2010 09:42 AM

Don't forget to kill the existing - background: #eeeeee; in the AtA Theme Options Body Style CSS or you'll never see your background image


All times are GMT -6. The time now is 12:19 AM.

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