Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Return the style of labels and form inputs on the Membership Checkout form to pre-1.9.4 layout using Paid Memberships Pro
<style>
@media only screen and (min-width: 1200px) {
#pmpro_form h3 {
display: grid;
grid-template-columns: 2fr 1fr;
}
.pmpro_checkout .pmpro_checkout-fields .pmpro_checkout-field {
clear: left;
}
.pmpro_checkout .pmpro_checkout-fields .pmpro_checkout-field label {
float: left;
margin: 0 1em 0 0;
text-align: right;
width: 200px;
}
.pmpro_checkout .pmpro_checkout-field.pmpro_captcha, .pmpro_checkout .pmpro_checkout-field-text p {
margin-left: 200px;
padding-left: 1em;
}
.pmpro_checkout .pmpro_checkout-field-text p {
margin-top: 0;
}
form.pmpro_form .pmpro_submit {
text-align: right;
}
.pmpro_btn.pmpro_btn-submit-checkout {
width: auto;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment