Skip to content

Instantly share code, notes, and snippets.

@ipokkel
Created December 5, 2022 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipokkel/cd9ee6435b6e45b601809b0be76ea0e3 to your computer and use it in GitHub Desktop.
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.
/*
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