Problem With Repeating Background
-
I am very new to this, so this might be a really stupid question, but I am having trouble with creating a repeating background, on the top of my page, along the x-axis.
I am using the following code:
body {background: url(/wp-content/themes/blank/images/body-bg.png) top center repeat-x white;}I am following along with one of the tutorials on WordPress from CSS-Tricks and it seems like it should work. I did everything that Chris Coyier did in his own video, and yet when I load my index.php file, the background does not appear. Then, when I right-click on the window and say “View Background Image,” it gives me a 404 error saying that the URL /wp-content/themes/blank/images/body-bg.png was not found on the server.
What am I doing wrong? And before you say anything, yes, the file path is correct, and yes, the file does exist in that folder. Help me!
P.S. Also, I do not know if this makes a difference or not, but I am working locally on “localhost.” Thanks in advance!
The topic ‘Problem With Repeating Background’ is closed to new replies.