brittanystatt Posted June 14, 2023 Posted June 14, 2023 Hi everyone, I'm using the code below to style a form block. I've played around with it but can't figure out how to get the css to apply to all text areas, not just the bottom one. The text styling doesn't seem to be working either. Appreciate any help! code: // forms /// .form-wrapper .field-list textarea { font-size: 10px !important; background-color: #F9F3EF !important; border: 1px solid #D2B2A4 !important; border-radius: 15px !important; } .field-element { font-size: 10px !important; padding-top: 5px !important; background-color: #F2EBDD !important; border: 1px solid #F49E21 !important; border-radius: 15px !important; }
tuanphan Posted June 16, 2023 Posted June 16, 2023 Try this for input fields div.form-block input:not([type="submit"]) { font-size: 10px !important; background-color: #F9F3EF !important; border: 1px solid #D2B2A4 !important; border-radius: 15px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment