Created
December 5, 2022 07:44
-
-
Save ipokkel/cd9ee6435b6e45b601809b0be76ea0e3 to your computer and use it in GitHub Desktop.
Set maximum width for PMPro checkout form input form elements. This could be helpful if the required field asterisk appears below the input field due to theme style inheritance.
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
/* | |
Set maximum width for PMPro checkout form input form elements. | |
Lowering the max-width percentage to suit your specific site, e.g. max-width: 85%; | |
This could be helpful if the required field asterisk appears below the input field | |
due to theme style inheritance. | |
*/ | |
form.pmpro_form select, | |
form.pmpro_form input[type=text], | |
form.pmpro_form input[type=email], | |
form.pmpro_form input[type=password] { | |
max-width: 95% !important;; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment