# CSS Option for Connection Fields in a Form Component.

> Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

Source: https://tadabase.com/docs/snippets/css-option-for-connection-fields-in-a-form-component  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

> **Warning:** Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add this functionality is through the plugin installation wizard. Learn more about plugins [here](https://tadabase.com/docs).

![Screenshot for “CSS Option for Connection Fields in a Form Component.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/bf168b62dffdad9ae5e4e86fa6cee7015733c778.gif)

If you would like a CSS customization to change the display of a connected field in the format of a list drop-down follow the steps below.

**Step 1**

**Within your form component, ensure your connected field is set to display as a dropdown list, as seen below.**

![Screenshot for “CSS Option for Connection Fields in a Form Component.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-12_14-58-45.png)

**Step 2**

**Add the following code to your CSS tab.**

```
.record-selector.drop-down-list {
    left: 50%;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 10;
}

.view-record {
    float: left;
    width: calc(50% - 80px);
}

.add-record {
    float: right;
}
```

> **Warning:** Our new themes may need some tweaking to the code.

**For this theme, I made the following changes to each class selector:**

.record-selector.drop-downlist

I removed the 50% value on the left.

.view-record

I removed the width calculation and replaced it with 75%.

Feel free to edit these values until you get the display you want on your form.

```
.record-selector.drop-down-list {
  left: 0;
  top: 0;
  right: 0;
  position: absolute;
  z-index: 10;
}

.view-record {
    float: left;
    width: 75%;
}

.add-record {
    float: right;
}
```

![Screenshot for “CSS Option for Connection Fields in a Form Component.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/2022-09-12_15-19-06.gif)

**Original Community Post:**

[https://community.tadabase.io/t/can-someone-help-me-with-some-css/1850/2#:~:text=I%20feel%20like%20this%20is%20a%20bit%20hacky%20but%20maybe%20this%20is%20close%20to%20what%20you%E2%80%99re%20looking%20for%3F](https://community.tadabase.io/t/can-someone-help-me-with-some-css/1850/2#:~:text=I%20feel%20like%20this%20is%20a%20bit%20hacky%20but%20maybe%20this%20is%20close%20to%20what%20you%E2%80%99re%20looking%20for%3F)
