# Menu width in a split pane

**URL:** <https://forum.ionicframework.com/t/menu-width-in-a-split-pane/181225>\
**Category:** Ionic Framework\
**Created:** [January 9, 2020, 2:18pm UTC](https://forum.ionicframework.com/t/menu-width-in-a-split-pane/181225 "2020-01-09T14:18:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yodah](https://avatars.discourse-cdn.com/v4/letter/y/35a633/32.png) [@yodah](https://forum.ionicframework.com/u/yodah)\
**Post date:** [January 9, 2020, 2:18pm UTC](https://forum.ionicframework.com/t/menu-width-in-a-split-pane/181225/1 "2020-01-09T14:18:07Z")

</div>

Hello,

In the doc : [https://ionicframework.com/docs/api/menu#css-custom-properties](https://ionicframework.com/docs/api/menu#css-custom-properties) there’s an example of a menu with a snippet to set its width :

```auto
.my-custom-menu {
  --width: 500px;
}

```

But when the menu is in a split pane (like 99% of the time ?) it doesn’t work, I’ve done this but … it doesn’t feel right, there should be an API to do that

```auto
@media screen and (min-width: 992px) {
  ion-menu {
    max-width: 10% !important;
  }
} 

```
