How to disable background image on registration page

How to disable background image on registration page

by ob kofi -
Number of replies: 1

Hello, please i just upgraded from moodle 2.9 to 3.2 and the problem i am having is that, the background image makes the text of the sign up form invisible. i have to change  the color from black to pink before it shows. Meanwhile in moodle 2.9, the background image does not show on signup page. Is there a way for me to disable background image on signup page ? i am using theme evolve

you can check what i am saying here https://bsacademy.us/login/signup.php

Thank you

Average of ratings: -
In reply to ob kofi

Re: How to disable background image on registration page

by Matt T -

Hi,

Before we get to your problem, onto a security issue.  While it's good to see you have begun installing SSL on your site, but please force it and direct HTTP requests to HTTPS. The home page of your site uses HTTP with a login form which is insecure, and is flagged by Chrome as such. Once you have established a redirect, in site admin, navigate to security > HTTP security and ensure "secure cookies only" is ticked. 

Furthermore, the signup form targets a HTTP endpoint. This means your SSL is practically ineffective. Check that in config.php, $CFG->wwwroot is https://bsacademy.us not http://


Insecure site

Not very good to users for an insecure login and signup form!!!


Onto the issue at hand. This is an advanced theming problem which seems to me to be outside the scope of this forum. You would probably need to edit the theme you are using to override the login renderer. There's no simple way, I think, to just turn off the background on one page without editing theme files.

Here's another way though. I borrowed some css from another page on that site. Add some additional CSS in site admin > appearance > additional HTML. Add it within head.


<style type="text/CSS">

#mform1 { background:rgba(0,0,0,.8); 

border-radius: 10px; 

border: 5px solid #fff; 

}

</style>   

Give it a go, check some other pages that may use mform1 and make sure it still looks ok.

Perhaps the developer forum could help with getting rid of the "fullbkg" id on your body on the login page. https://moodle.org/mod/forum/view.php?id=55