- This topic has 3 replies, 2 voices, and was last updated 13 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Horizontal (One Line) Login Form
Hi
Is there an option to have the login form on one line?
Alternatively, is there a way to make a custom form (so I can make the form myself) using the fields/values, etc. to log in correctly?
I’d like to have:
|username text input| |password input| |submit button| |register button|
Also, as I want to customise the fields, what will the classes be (unless it is very much like regular CSS/HTML)?
No, There is no option to make the login form show in one line. If you are a developer then it may be possible for you to tweak to code to make the login form appear in one line.
Here are the CSS class names
Text input - eMember_text_input
Button - eMember_button
Okay, it was simple enough, however I need to know what the action is for the form.
Basically, this is what I’ve done:
<form action="" method="post" name="wp_emember_loginForm" ><br />
<input type="text" name="login_user_name" size="15" value="" /><br />
<input type="password" name="login_pwd" size="15" value="" /><br />
<input type="checkbox" tabindex="90" value="forever" id="rememberme" name="rememberme" /><br />
<input type="hidden" value="1" name="testcookie" /><br />
<input name="doLogin" type="submit" value="" /><br />
</form>
It is safe to keep the action parameter empty. It will simply POST the data on this same page and the plugin will pick up from there.