changing the redirect for logins, adding login form styles
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 19 Apr 2018 19:15:40 +0000 (15:15 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 19 Apr 2018 19:15:40 +0000 (15:15 -0400)
inc/glm-dev.php
style.css

index 033c5b8..c0676f8 100644 (file)
@@ -7,7 +7,7 @@ function glm_login_form( $atts ){
             $args = array(
                 'echo'           => false,
                 'form_id'        => 'glm_login_form',
-                'redirect'       => get_permalink(15),
+                'redirect'       => get_permalink(195),
             );
             $loginForm = wp_login_form($args);
             $captcha   = apply_filters('cptch_display', '', 'glm_login_form');
index 23c3589..c6a1345 100644 (file)
--- a/style.css
+++ b/style.css
@@ -2548,7 +2548,7 @@ div.cmvl-courses-list-shortcode table tbody tr td.narrow{
 }
 
 .parallax-section:first-child h2{
-    display: none;
+    /* display: none; */
 }
 .cmvl-title{
     text-align: center;
@@ -2556,9 +2556,6 @@ div.cmvl-courses-list-shortcode table tbody tr td.narrow{
 body .cmvl-toc{
     display: none;
 }
-body .cmvl-toc{
-    display: none;
-}
 .cmvl-video-list{
     background-color: #1C262F;
 }
@@ -2580,4 +2577,27 @@ body .cmvl-controls li{
 }
 body .cmvl-navbar-categories{
     display: none;
+}
+body #content .parallax-section:first-child,body #content .parallax-section:last-child {
+    background: none;
+    background-image: linear-gradient(to right top, #0071bc, #0080ca, #008fd7, #009fe3, #00aeef);
+}
+#glm-member-login-form {
+    width: 250px;
+    margin: 0 auto;
+}
+#glm-member-login-form .button-primary,
+#glm-member-password-lost-form .lostpassword-button {
+  background-color: #00AEEF;
+  border: 0 none;
+  border-radius: 5px;
+  color: white;
+  font-size: 14px;
+  min-width: 90px;
+  cursor: pointer;
+}
+#glm-member-login-form + p{
+    max-width: 250px;
+    margin: 0 auto;
 }
\ No newline at end of file