[SOLVED] Background image not showing up
Hi- Awesome theme! ATA 3.7.3
I'm trying to add a png repeating background to my site and it's coming up with a white screen- can you look at my code and see where my error lies? Thanks for your help! My site is not yet live, but if you need to look at the back end, I can send you the u: and p: in a private message. Code:
background: url(/wp-content/themes/atahualpa/images/controls-bg.png) repeat-x; |
What happens if you put the full path in?
|
Thanks for the quick reply. Nothing happens... I just used this one, saved it, and refreshed the page.
background: url(/wp-content/themes/atahualpa/images/controls-bg.png) repeat-x; Any other ideas? |
what he meant was using the fully qualifgied URL ie
HTML Code:
http://yourdomain.com/wp-content/themes/atahualpa/images/controls-bg.png |
This is the one I tried next...
background: url(http://yourdomain.com/wp-content/the...ontrols-bg.png) repeat-x; You're right about it not being at that file path (I just realized that), but it's loaded in the file manager and when I double click on it, the image I created in photoshop comes up. I am baffled. What would you try next if you were me? |
File names are case sensitive. Your image file name as upper case letters in it but your path does not.
|
I checked the capitals piece and to rule out an issue, I just re-saved it with lower case letters. I found some errors in the file extension and then I refreshed it and checked it in firebug. It appears that the page is calling up the correct file, there is additional information on the end-- and ideas?
background: url("/wp-content/themes/atahualpa/images/poc.png") repeat-x scroll 0 0 transparent; |
Your code should be either
HTML Code:
background: url("http://yourdomain.com/wp-content/themes/atahualpa/images/poc.png") repeat-x scroll 0 0 transparent; HTML Code:
background: url("/wp-content/themes/atahualpa/images/poc.png") repeat-x scroll 0 0 transparent; |
Wow! The first one worked! Thanks!!
|
All times are GMT -6. The time now is 06:19 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.