backround image problem
-
Hello,
I am meidum with css.
I wanna change the backround to an extern url image:body {
font-size:62.5%;
font-family:’Lucida Grande’, Verdana, Arial, Sans-Serif;
background-image:url(http://img233.imageshack.us/my.php?image=img7288xy9.jpg);}
text-align:center;
margin:0 0 20px;
padding:0;
}my blog http://www.crankdesign.wordpress.com
thats what I tired…and Nothing…can someone help me? Thank you very much in advance
-
I think what is messing things up is that the link to the image contains “my.php”. Here at wordpress.COM, script is not allowed in CSS.
My suggestion is to upload the image here into your blog media library and then put that link into the CSS.
-
-
Actually I just visited the image, and this is the URL of the actual image:
http://img233.imageshack.us/img233/img7288xy9.jpg -
Whoops, no it isn’t. That doesn’t work. Do my other suggestion. You will probably have to resize and crop it for your theme. This link gives the standard header image sizes for most themes here: http://faq.wordpress.com/2006/07/08/which-themes-can-i-add-a-header-image-to/
-
-
And, I was thinking header image, and she wants background image, so my link to the header stuff is trash.
-
The format is wrong. She left out the single quotes and added an addition closing bracket
background-image:url('http://img233.imageshack.us/img233/7619/img7288xy9.jpg');But yeah, upload it here and give it a go.
-
And it seems that you don’t even need the -image part of that line. The original CSS has
background: #d5d6d7 url('images/kubrickbgcolor.jpg');Also – ignore what I said about the single quotes – they are in the CSS (I hadn’t looked before)
-
Thanks for everyones help :) It worked by uploading it here first. Im very happy haha its a good start for a funky backround
you can check it out crankdesign.wordpress.com ..i guess it was the php thing wich made sense :) thank you again -
She left out the single quotes
Actually, the right way to write it is without the single quotes, I don’t know why the wp software adds them…
-
-
Maybe one of the reasons why the add the single quotes is because the custom CSS code is stored in a DB, whereas in self-hosted blogs, the CSS is in a file.
-
- The topic ‘backround image problem’ is closed to new replies.
