You are viewing limited content. For full access, please sign in.

Question

Question

What CSS code can I use to adjust the width and location of the data field?

asked on July 14

I have a drop-down field that only has options that are only 3 characters long.  I'd like to adjust the drop down to be narrower (fitted to the options) and lined up to the right.  I'd also like the label to continue to the drop-down menu.  I know how to adjust the entire field, but I don't know how to modify the label and data field separately.  Here's how it's looking so far:

0 0

Replies

replied on July 14

Thankfully your custom class names are assigned to the parent element so you can access everything individually. For the label put your class name then .cf-label and for the field itself put your class name and then the field type, which for a drop down is select.

 

IE:

.myclass .cf-label { }

.myclass select { }

.myclass label might also work for the label

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.