# Bootstrap-ui 3.0 horizontal forms

**URL:** <https://discourse.cakephp.org/t/bootstrap-ui-3-0-horizontal-forms/10359>\
**Category:** Need Help\
**Created:** [May 4, 2022, 4:54pm UTC](https://discourse.cakephp.org/t/bootstrap-ui-3-0-horizontal-forms/10359 "2022-05-04T16:54:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cowtan](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@cowtan](https://discourse.cakephp.org/u/cowtan)\
**Post date:** [May 4, 2022, 4:54pm UTC](https://discourse.cakephp.org/t/bootstrap-ui-3-0-horizontal-forms/10359/1 "2022-05-04T16:54:13Z")

</div>

I’m using Bootstrap-UI ([https://github.com/FriendsOfCake/bootstrap-ui](https://github.com/FriendsOfCake/bootstrap-ui) version 3.0, so using Bootstrap 4.6.

I’m trying to create a form that has controls that are aligned horizontally with their labels using the instructions here -

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/9/9c0420fe804dd22a5833c9cf9cabc2df0ff4dcd7.png)

This works fine except I can’t see how to define the default column distribution ie so that the classes for the label and the control container are something like `col-4` and `col-8` without any breakpoint defined.

If I try something like -

```auto
                  'align' => [
                    'left' => 4,
                    'middle' => 8,
                  ]

```

The classes created are `col-md-4` and `col-md-8` ie it seems to default to md as the breakpoint for the columns.

I know this is a bit obscure but does anyone have any idea how to do what I want?
