Hello
I am using AppGini 5.76.
Any help to add background image on membership_signup.
Thank you
Background image on membership_signup page
Re: Background image on membership_signup page
Hi,
you can add the following to the header-extras.php in the hooks directory
Where YOURIMAGELINK points to the image you want to display.
you can add the following to the header-extras.php in the hooks directory
Code: Select all
<script>
$j(function() {
$j('#signup_splash').parent().find('.panel-body').css('background-image', 'url("YOURIMAGELINK")');
});
</script>
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Background image on membership_signup page
Hello
When I put code like this
<script>
$j(function() {
$j('#signup_splash').parent().find('.panel-body').css('background-image', 'url("images/bgrim.jpg") no-repeat fixed center center / cover;');
});
</script>
Nothing is showing When I put like this
<script>
$j(function() {
$j('#signup_splash').parent().find('.panel-body').css('background-image', 'url("images/bgrim.jpg")');
});
</script>
I get this
but here what I am looking for
Thank you
When I put code like this
<script>
$j(function() {
$j('#signup_splash').parent().find('.panel-body').css('background-image', 'url("images/bgrim.jpg") no-repeat fixed center center / cover;');
});
</script>
Nothing is showing When I put like this
<script>
$j(function() {
$j('#signup_splash').parent().find('.panel-body').css('background-image', 'url("images/bgrim.jpg")');
});
</script>
I get this
but here what I am looking for
Thank you
Re: Background image on membership_signup page
Hi,
try
try
Code: Select all
<?php
$current_page=basename($_SERVER['SCRIPT_FILENAME']);
If ($current_page == 'membership_signup.php') {
?>
<script>
$j(function() {
$j('body').css({'background-image': 'url("images/bgrim.jpg")', 'background-position': 'center', 'background-repeat': 'no-repeat','background-size': 'cover', 'height': '100%'});
});
</script>
<?php
}
?>
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Background image on membership_signup page
Hi
Thank very much for your help. Working fine
Thank very much for your help. Working fine