I've modified the size of quite a few fields to make them more visually appealing on a form, but the yellow highlight boxes that appear when fields are actively selected did not adjust along with those changes, making them appear really strange. Is there any CSS that can be added to modify this? Any help would be much appreciated. Thanks!
Question
Question
Is it possible to change the size of the yellow highlight box of an actively selected field?
Replies
You should be modifying the size of the li elements (#q2, etc.) instead of the input boxes. It's general CSS best practice to not have something larger than its parent or it can produce undesired effects like those.
For the email one, where the input field is larger than the yellow, give the overall element (ie #q5 or something) a width of 35% which looks like it will be about right:
#q5 { width: 35%; }
For the address fields, try this instead of what you're using:
.cf-address.cf-fluid, .cf-address.cf-fluid .cf-xlarge { width: 100%; }
Thank you very much Jim! That solves the issue! If I want to be able to have varied address fields though, how do I go about that? This form is massive and has 18 pages, and depending on the fields before/after it, I'm trying to justify the address fields so that they're left aligned and right aligned.