Quantcast
Channel: Topic Tag: bug | WordPress.org
Viewing all articles
Browse latest Browse all 23376

DonaldScott on "fixed alignment problem on wp-members login/registration form"

$
0
0

Hi -

There was an ongoing problem with the vertical aligmnent of the field labels on WP-Members login/registration form using certain themes, where the field labels were displaying too low, which had been reported reported a year ago:

http://wordpress.org/support/topic/plugin-wp-members-login-page-not-aligned?replies=11

I don't know much about CSS, but after inspecting the page with Firefox Developer Tools, I decided to try deleting a single character in wp-members-2012.css - and it fixed the problem!

Here's the original CSS rule, before I edited it:

#wpmem_reg label.text, #wpmem_reg label.checkbox,
#wpmem_reg label.textarea , #wpmem_reg label.select,
#wpmem_login label {
	left:4px;
	top: 40px;
	color:#555;
	width:210px;
	margin-top:8px;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:5px;
	float:left;
	display: block;
	font-family: inherit;
	font-size: inherit;
	line-height: 2.2;
	height: 43px;
	display: block;

}

I changed line 126 of this file, from:

top: 40px;

to:

top: 0px;

and this corrected the alignment.

http://wordpress.org/extend/plugins/wp-members/


Viewing all articles
Browse latest Browse all 23376

Trending Articles