Problem:
The user would like to style the login form provided by Toolset.
Solution:
There is no way to customize the markup generated by the login form in order to style it. But we can use CSS.
The login form will generate markup similar to the following:
<form name="loginform" id="loginform" action="http://yourdomain.com/wp-login.php" method="post"> <div class="wp-success"></div> <p class="login-username"> <label for="user_login">Username or Email</label> <input type="text" name="log" id="user_login" class="input" value="" size="20"> </p> <p class="login-password"> <label for="user_pass">Password</label> <input type="password" name="pwd" id="user_pass" class="input" value="" size="20"> </p> <p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever"> Remember Me</label></p> <p class="login-submit"> <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In"> <input type="hidden" name="redirect_to" value="http://yourdomain.com/account/" wfd-invisible="true"> </p> <input type="hidden" name="wpv_login_form" value="on" wfd-invisible="true"> </form>
You can target each element with its CSS class or name attribute. Below some examples:
.login-username {/* style the username label and input */} .login-username label {/* style the username label */} .login-username input {/* style the username label */}
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - | - | 9:00 – 13:00 |
14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - | - | 14:00 – 18:00 |
Supporter timezone: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 6 months ago.
Assisted by: Jamal.