Hello
Is is a way to add background image on all page?
Thank you.
Background image on all page AppGini 5.81
Re: Background image on all page AppGini 5.81
Hi,
define some CSS that does that:
Like this:
(works also from your hooks/footer-extras.php file)
Olaf
define some CSS that does that:
Like this:
Code: Select all
<style>
body {
background: url("yourimage.jpg") no-repeat fixed center center / cover;
}
</style>
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: Background image on all page AppGini 5.81
Hi Olaf
Thank you for sharing.
Best regards
Thank you for sharing.
Best regards
-
- Veteran Member
- Posts: 54
- Joined: 2016-03-21 19:33
Re: Background image on all page AppGini 5.81
Hi Olaf,
I added the following to footer-extras.php file:
As a result, I see the background image only on the login page. What should I do to see the image on all pages?
Thanks
I added the following to footer-extras.php file:
Code: Select all
<?php
$script_name = basename($_SERVER['PHP_SELF']);
if($script_name == 'index.php' && isset($_GET['signIn'])){
?>
<style>
body{
background: url("hooks/logo.jpg") no-repeat fixed center center;
background-size: 60%
}
</style>
<?php
}
?>
Thanks
Re: Background image on all page AppGini 5.81
Hi,
just add only the CSS - not "full" php script:
this should probably work.
Olaf
just add only the CSS - not "full" php script:
Code: Select all
<style>
body{
background: url("hooks/logo.jpg") no-repeat fixed center center;
background-size: 60%
}
</style>
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
-
- Veteran Member
- Posts: 54
- Joined: 2016-03-21 19:33
Re: Background image on all page AppGini 5.81
Yes, that works!
Thanks!!
Thanks!!