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)
-   -   [SOLVED] Background image scrolling with main body (http://forum.bytesforall.com/showthread.php?t=11869)

robinwiley Dec 23, 2010 12:18 PM

[SOLVED] Background image scrolling with main body
 
My wife wanted her website header image to be full-width with the body fixed at 900 pixels. By following the advice found in other threads, I managed to achieve that as you can see:
http://www.domni.com/TypeInsights2/

However, the header stays fixed in place when the user scrolls down. How can I make the background scroll in sync with the body?

Thanks,
Robin

lmilesw Dec 23, 2010 01:05 PM

The header image has a fixed attribute which I believe is causing your issue. What I would do is create a header image that was about 2000px wide to allow for a wide monitor I and use the following for the background image in ATO>Body, Text & Links. I have attached a modified header image as an example which you could use if you like.
HTML Code:

background: #6666CC url(http://www.domni.com/TypeInsights2/images/SH2000x160.jpg) no-repeat top center;
You of course would have to take out your other background image code.

robinwiley Dec 23, 2010 11:39 PM

Thanks, lmilesw -- that gave me the nudge I needed.

I've fixed it now -- looks good! :)

(And, most importantly, my wife's happy with it...)


All times are GMT -6. The time now is 04:56 AM.

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