I am stuggling to modify the padding on the CC date and year drop down. The “US State” also has the same problem. I have set up a form below to show the problem.
Thanks, Kevin
To fix the Credit Card Date and Year field, please try the following CSS in Appearance > Customizer > Additonal CSS or in the style.css
file of your child theme.
.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full) {
padding-right: 15px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
margin-top: -15px !important;
}
So, the output will be like the following screenshot.
Give it a shot, and let me know how it works! I’m looking forward to hearing back from you.
2 Likes
This worked great! Thanks.
1 Like