# How can I change the widht of an SplitPane

**URL:** <https://forum.ionicframework.com/t/how-can-i-change-the-widht-of-an-splitpane/127417>\
**Category:** Ionic Native\
**Created:** [April 9, 2018, 9:36pm UTC](https://forum.ionicframework.com/t/how-can-i-change-the-widht-of-an-splitpane/127417 "2018-04-09T21:36:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maclean](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Maclean](https://forum.ionicframework.com/u/Maclean)\
**Post date:** [April 9, 2018, 9:36pm UTC](https://forum.ionicframework.com/t/how-can-i-change-the-widht-of-an-splitpane/127417/1 "2018-04-09T21:36:33Z")

</div>

Hi everybody, how can I change the widht of an ion-pane, make it narrow.

```auto
<ion-split-pane when="lg">
<ion-menu [content]="content" >
  <ion-content class="BGMENU">

      <img src="assets/imgs/AgnicoEagleBlack.png" class="logoMenu">
      <button menuClose *ngFor="let p of pages" (click)="openPage(p)">
        {{p.title}}
      </button>
  </ion-content>
</ion-menu>
<ion-nav [root]="rootPage" main #content swipeBackEnabled="false" ></ion-nav>
</ion-split-pane>

```

I try updateing the value of $split-pane-wp-side-max-width in my theme/varables.scss but nothing changes

```auto
// App Windows Variables
// --------------------------------------------------
// Windows only Sass variables can go here
$split-pane-wp-side-max-width: 0%;

// App Theme
// --------------------------------------------------
// Ionic apps can have different themes applied, which can
// then be future customized. This import comes last
// so that the above variables are used and Ionic's
// default are overridden.

@import "ionic.theme.default";

```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:41pm UTC](https://forum.ionicframework.com/t/how-can-i-change-the-widht-of-an-splitpane/127417/2 "2021-07-19T21:41:14Z")

</div>

Closed on July 19, 2021, 9:41pm UTC


