Edit Background Image
Posted: 2016-02-23 00:55
What file needs to be changed to change the background image on my webpage
A place where AppGini users can exchange ideas and help each other.
https://forums.appgini.com:443/phpbb/
https://forums.appgini.com:443/phpbb/viewtopic.php?f=2&t=1981
Code: Select all
<style>
body {
background-image: url("login_screen.jpg");
}
</style>
Code: Select all
<style>
body {
background-image: url(128-29.jpg);
}
Code: Select all
<style>
body {
background-image: url(your_bg_img.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
Code: Select all
<?php
if (isset($_GET['signIn']) || isset($_GET['loginFailed'])) {
echo "\n<style>\n";
echo "\t body {\n";
echo "\t\t background-image: url(images/background.jpg);\n";
echo "\t\t background-position: center center;\n";
echo "\t\t background-repeat: no-repeat;\n";
echo "\t\t background-attachment: fixed;\n";
echo "\t\t background-size: cover;\n";
echo "\t }\n";
echo "</style>\n";
}
?>