• Resolved bualai

    (@bualai)


    I successfully created a Login form, but I can’t get the Sign up form to work. The “Sign up” button doesn’t work (no pointer cursor, no link, no hover effects), while the “Link-login” shortcode has a oversize hover that goes from the “Sign up” button to the end of the page.

    This is the code I used:

    <div class="sign-up">
       [reg-submit class="btn" value="Sign up"]
    </div>
    <div class="footer">
    [link-login class="login" label="Have an account? Login"]
    </div>

    This is the CSS:

    div.sp-pp .btn {
      border: 1px solid #fff;
      color: #fff;
      background-color: #434A54;
      padding: 10px 20px;
      width: auto;
      height: 40px;
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 300;
      border-radius: 0;
      outline: 0;
      transition: all 0.2s ease-in-out;
      cursor: pointer;
    }
    
    div.sp-pp .btn:focus,
    div.sp-pp .btn:active,
    div.sp-pp .btn:hover {
      background-color: #7b8087;
      color: white;
    }
    .footer {
      padding-top: 20px;
    }
    
    div.footer .login {
      color:rgba(255,255,255,0.55);
      font-size: 13px;
      text-decoration: none;
    }
    .sign-up {
      padding-top: 20px;
    }

    The same code works on the Login form, so I really don’t know what’s wrong with it.
    This is the form: https://www.bualai.com/sign-up/
    Thank you for your support

    https://www.ads-software.com/plugins/ppress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bualai

    (@bualai)

    I’ve been able to solve the problems. I will write the solution here so that it might help somebody in the future.

    The “Login” link had such a big hover area because I used the .login class, which apparently is already present in FlatUi registration theme inside the plugin. The plugin class overrode my styles with a huge padding area.
    To solve it, I simply changed my class from .login to .link-login

    The “Sign up” button didn’t work because for some reason it was under div.container.
    To solve it, I added

    position: relative;

    to the style of its <div>.

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Glad you were able to fix the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sign up button not working login shortcode oversize hover’ is closed to new replies.