Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Body Background Image problem with y axis repeat (http://forum.bytesforall.com/showthread.php?t=19063)

gpeery Dec 6, 2012 11:43 AM

[SOLVED] Body Background Image problem with y axis repeat
 
http://www.deborahnavas.com

I have a long narrow background image that I want to have repeat horizontally, so that it creates a fade out.

When I try this, which seems logical, there is no image displayed.
background-position: top left;
background: url(/images/background.gif);
background-repeat: repeat-y;

I have tried various other configurations, but they also display no image. For now I have left the image to be on, but if you scroll down you see where it repeats.

Thanks for any advice.
Gordon Peery

juggledad Dec 6, 2012 06:54 PM

1) you are using both the background short code and other background statements
2) repeat-y causes the image to repeat top to bottom, since it is 5px width, it will only show a 5px image on the left of the screen.

what you want to do (I think) is use repeat-x and hvae a background-color of #FFFFFF so it will fade to white and only one occurance will show in the x-axis but it will be repeated on the y-axis

gpeery Dec 7, 2012 03:54 AM

Thank you - success!


All times are GMT -6. The time now is 09:59 AM.

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