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 to body (http://forum.bytesforall.com/showthread.php?t=328)

hdrieman Feb 11, 2009 03:07 AM

background image to body
 
Hi,

I added a repeated background image to the body by a "background-image: url(wp-content/gallery/website/ruitjes.gif);" (without the quotes). After that, I only see that background on the homepage and not on the other pages. Strangs! Can anybody help me with this?

Thanks,
Hans Drieman

Flynn Feb 11, 2009 05:14 AM

Change that to

HTML Code:

background-image: url(/wp-content/gallery/website/ruitjes.gif);
Note the slash at the beginning

hdrieman Feb 11, 2009 09:44 AM

Hi Flynn,

Thanks for your quick response.
I made your suggested change, but now the background-image didn't work at all!?

In the first situation, only on the homepage.

Hopely this problem in your great flexible theme will get a solution, because manipulating the bachground of the different divs and the body is essential for developing the theme.

Thanks,
Hans Drieman

Flynn Feb 11, 2009 05:26 PM

This is not a theme problem

Looks like your WP installation is in a subdirectory yourdomain.com/blog/ ?

I have only focused on the missing slash, also to be sure, the full background declaration should be

HTML Code:

background: transparent url(/wp-content/gallery/website/ruitjes.gif) repeat scroll top left;
If your WP is in /blog/ the path to the image would be

HTML Code:

background: transparent url(/blog/wp-content/gallery/website/ruitjes.gif) repeat scroll top left;
Post a URL if this doesn't work

hdrieman Feb 25, 2009 04:10 AM

Thanks Flynn,

I didn't ad the blog-sundirectory to the backgroud-image string in the CSS.

Now it works,

Thanks,
Hans Drieman


All times are GMT -6. The time now is 12:57 PM.

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