# Ion-col and button position

**URL:** <https://forum.ionicframework.com/t/ion-col-and-button-position/191764>\
**Category:** Ionic Framework\
**Created:** [June 25, 2020, 5:31am UTC](https://forum.ionicframework.com/t/ion-col-and-button-position/191764 "2020-06-25T05:31:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lona](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lona/32/102988_2.png) [@Lona](https://forum.ionicframework.com/u/Lona)\
**Post date:** [June 25, 2020, 5:31am UTC](https://forum.ionicframework.com/t/ion-col-and-button-position/191764/1 "2020-06-25T05:31:59Z")

</div>

Hey,

I am trying to position a ion-button to the right, but all I am getting is the button is right-ish.

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/b/e/be7c89dd8fa217d47eebecaeaf359c86de95a524.png)

I´ve got the following code:

```auto
<ion-footer>
            <ion-row >
                <ion-col center text-center >
                    <button item-start (click)="favorite(thumbs.get(item))">
                        <ion-icon *ngIf="!thumbs.get(item).favorite" name="star-outline"></ion-icon>
                        <ion-icon *ngIf="thumbs.get(item).favorite" name="star"></ion-icon>
                    </button>
                </ion-col>

                <ion-col center text-center >
                    <button (click)="presentPopover($event,thumbs.get(item))">
                        <ion-icon name="ellipsis-vertical"></ion-icon>
                        <div>Add to Story</div>
                    </button>
                </ion-col>

            </ion-row>
        </ion-footer>

```

Driving me nuts.

---

<div class="post-metadata">

**Author:** ![NiklasSchwab](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@NiklasSchwab](https://forum.ionicframework.com/u/NiklasSchwab)\
**Post date:** [June 25, 2020, 6:33am UTC](https://forum.ionicframework.com/t/ion-col-and-button-position/191764/2 "2020-06-25T06:33:23Z")

</div>

It should work if you place it in a ion-toolbar in ion-buttons with a slot.

So something like:

```auto
<ion-footer>
  <ion-toolbar>
    <ion-buttons slot="end">
      <ion-button>
        ...
      </ion-button>
    </ion-buttons>
  </ion-toolbar>
</ion-footer>

```

I recomend using rows and cols only if you really want to make something grid like or there’s no other way to do it. Toolbars with ion-buttons are the better solution here I guess 🙂

---

<div class="post-metadata">

**Author:** ![Lona](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lona/32/102988_2.png) [@Lona](https://forum.ionicframework.com/u/Lona)\
**Post date:** [June 25, 2020, 10:06am UTC](https://forum.ionicframework.com/t/ion-col-and-button-position/191764/3 "2020-06-25T10:06:34Z")

</div>

Right!

I was just following the Social Card example. Will give this a shot!
