This topic is locked
[SOLVED]

 Changing Background PHPRunner 8

9/17/2014 12:18:32 PM
PHPRunner General questions
M
mrohde author

I did not try this in version 7 but I can not seem to get the to work in version 8
I added the following code to Custom CSS in the Style editor and it appears in the code for the page but no image appears on the page.
body.function-login {

height:100%;

background:transparent url("https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=22572&image=1&table=forumtopics";) no-repeat center center fixed;

background-size:cover;

}
Reference: http://xlinesoft.com/blog/2013/10/26/building-a-nice-looking-login-page-with-custom-css/
fthgc.com
Anybody else try this?

Sergey Kornilov admin 9/17/2014

It will work as soon as you use the URL of image that really exists. There is no such file as https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75681&image=1&table=forumreplies

M
mrohde author 9/18/2014



It will work as soon as you use the URL of image that really exists. There is no such file as https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75693&image=1&table=forumreplies


You are correct the file was in a different directory, my error, corrected code and it still does not work. I even moved the file to a different directory, because it appear that phprunner 8 Custom CSS does not like "_" (underscore character) in the path name?
body.function-login {

height:100%;

background:transparent url ("https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75693&image=2&table=forumreplies";) no-repeat center center fixed;

background-size:cover;

}
However, still no background on login page.

Sergey Kornilov admin 9/18/2014

You have added a space after url, this is why it doesn't work. This is how it works.

body.function-login {

height:100%;

background:transparent url("https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75695&image=1&table=forumreplies";) no-repeat center center fixed;

background-size:cover;

}


M
mrohde author 9/18/2014



You have added a space after url, this is why it doesn't work. This is how it works.

body.function-login {

height:100%;

background:transparent url("https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=75700&image=1&table=forumreplies";) no-repeat center center fixed;

background-size:cover;

}





Thanks, problem solved. Great support as always.