Signup and login forms not working as they should

I'm using a virtual page for the student login/sign up. However neither of these are working, nor displaying properly.

Student Login: https://homeschoolscience.org/student-login/

There's no form displayed. We do have the site set to allow user registration and in Coursepress we do not have the option selected for a custom login form.

-----

New Student Signup: https://homeschoolscience.org/courses-signup/

The First Name field is completely missing, despite being in the form's HTML. There isn't any CSS set to hide it. Even without the First Name field, trying to submit this form does nothing...it refreshes it without any confirmation or errors.

Also, on a course page (example course: https://homeschoolscience.org/courses/the-work-of-a-weatherman/), if you select "Enroll Now!", it redirects you to the WP Admin login page and not the front-end login page mentioned above. How do I fix this?

Thanks!

  • Adam Czajczyk

    Hello NWTD,

    I hope you're well today and thank you for your question!

    I checked your site and it seems that you are using a custom theme. In that theme's style.css file there's this rule:

    span.exclusive_tax,
    form#student-settings > p:first-child {
    	display: none!important;
    }

    and this is what is causing the issue.

    I assume that the first selector ("span.exclusive_tax") is necessary to hide part of MarketPress data but try removing the other one so the code instead would be just

    span.exclusive_tax {
    	display: none!important;
    }

    That should help here. I'm not sure what was the purpose of that code but if removing it will solve the issue and break some other part, let me know what went broke and I'll look for a different solution that wouldn't affect CP forms.

    Best regards,
    Adam