# Position ion-slide-box's pager underneath

**URL:** <https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960>\
**Category:** ionic-v1\
**Created:** [October 10, 2014, 2:03pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960 "2014-10-10T14:03:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![salutis](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@salutis](https://forum.ionicframework.com/u/salutis)\
**Post date:** [October 10, 2014, 2:03pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/1 "2014-10-10T14:03:40Z")

</div>

Hi folks!

How can I move the pager so that it doesn’t overlay content of my slides?

![](https://sea1.discourse-cdn.com/ionicframework/uploads/default/4534/3cc5ef040444325c.png)

HTML hierarchy:

```
<div class="card">
    <div class="item">
        <ion-slide-box>
            <ion-slide>
                <div class="row" >
                    <div class="col">
                        ...

```

Thanks!

---

<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:** [October 10, 2014, 3:38pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/2 "2014-10-10T15:38:48Z")

</div>

You can use some css to change it’s positions.

`.slider-pager{}`

---

<div class="post-metadata">

**Author:** ![salutis](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@salutis](https://forum.ionicframework.com/u/salutis)\
**Post date:** [October 10, 2014, 9:59pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/3 "2014-10-10T21:59:38Z")

</div>

Thanks! I wasn’t sure whether it’s a bug, my mistake, or undocumented stuff.

---

<div class="post-metadata">

**Author:** ![Shadowsyntax](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shadowsyntax](https://forum.ionicframework.com/u/Shadowsyntax)\
**Post date:** [January 25, 2015, 3:17pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/4 "2015-01-25T15:17:26Z")

</div>

@mhartington maybe you can help me… I want to place the `.slider-page{}` above the nav-bar of a side-menu i.e. to have a greater z-index but I do not know which of the other elements I should give a relative positioning since most of them are in absolute positioning.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Shadowsyntax](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shadowsyntax](https://forum.ionicframework.com/u/Shadowsyntax)\
**Post date:** [February 5, 2015, 4:50am UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/5 "2015-02-05T04:50:49Z")

</div>

Hello Salutis, Did you get this to work for you? I want to change the slider also but I having problems with the z-index. What I want to achieve is have the sliders appear on the navbar and stay fixed there so that it will appear no matter at the slide I move to and show the indication of the slide I am on.

Thanks

---

<div class="post-metadata">

**Author:** ![Shadowsyntax](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shadowsyntax](https://forum.ionicframework.com/u/Shadowsyntax)\
**Post date:** [February 5, 2015, 4:53am UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/6 "2015-02-05T04:53:54Z")

</div>

hello, please can you have a look and the query I left regarding the `.slider-page{}` css. Thanks!

---

<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:** [February 5, 2015, 6:46pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/7 "2015-02-05T18:46:07Z")

</div>

At the moment its not possible with the current implementation of slide-box

---

<div class="post-metadata">

**Author:** ![Shadowsyntax](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shadowsyntax](https://forum.ionicframework.com/u/Shadowsyntax)\
**Post date:** [February 7, 2015, 4:52am UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/8 "2015-02-07T04:52:14Z")

</div>

Thanks! It will be a nice feature to have though.

Br.

---

<div class="post-metadata">

**Author:** ![bokboki2002](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bokboki2002/32/12515_2.png) [@bokboki2002](https://forum.ionicframework.com/u/bokboki2002)\
**Post date:** [February 18, 2015, 8:08pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/9 "2015-02-18T20:08:07Z")

</div>

Here is one example of how one can override default slide pager position by creating custom slide pager. I’ve modified one example of dynamic slide box on Codepen. The slide pager is put just below the main title.

> **[Ionic : Slidebox with Dynamic Slides](https://codepen.io/anon/pen/ByrZBV)**
>
> Forked from \[Justin Noel\](http://codepen.io/calendee/)'s Pen \[Ionic : Slidebox with Dynamic Slides\](http://codepen.io/calendee/pen/Kcxaw/)....

The idea is to create one parent controller (in example MainCtrl). In the template this is one div around all of the content. First element in this div is customSliderPager component. This way one can position slide pager anywhere on screen. Second thing is to emit a custom event everytime slide index changes (in slideChanged method) with the value of current index.  
Then, in the parent controller, catch event and update currently selected page.

I don’t know if this a correct approach or not since I’ve just started learning AngularJS and Ionic.

---

<div class="post-metadata">

**Author:** ![Shadowsyntax](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shadowsyntax](https://forum.ionicframework.com/u/Shadowsyntax)\
**Post date:** [February 18, 2015, 8:36pm UTC](https://forum.ionicframework.com/t/position-ion-slide-boxs-pager-underneath/10960/10 "2015-02-18T20:36:17Z")

</div>

Hello bokboki2002,

Thanks will have a go @ this and see if works.

Cheers.
