Created
November 22, 2017 14:09
-
-
Save kimcoleman/ff92e87ed30ba653f14cf5f16d0ff987 to your computer and use it in GitHub Desktop.
Return the style of labels and form inputs on the Membership Checkout form to pre-1.9.4 layout using Paid Memberships Pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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