Page 1 of 1

Header above side panel

Posted: Thu Jun 26, 2014 10:45 pm
by Dirk Gissing

Hello,

I'm trying to get the content behind the side panel but the header above the side panel. I've tried various ways, but nothing seems to work.

Here is an example of what I want:
Image

As you can see, the header stays put, it does not move, or go behind the side panel.

Thank you!


Header above side panel

Posted: Thu Jun 26, 2014 11:36 pm
by Alena Prykhodko

Hi Dirk,

Create new CSS asset with the following code:

pre
div.ui-panel{
top:45px;
min-height: inherit;
}
/pre


Header above side panel

Posted: Fri Jun 27, 2014 12:00 am
by Dirk Gissing

That works, but if I slide the panel downwards the header still goes behind the sidepanel. With your code the sidepanel has been pushed down with codetop/code, but I want it to be behind the header.

As you can see, the header is still behind it:
Image


Header above side panel

Posted: Fri Jun 27, 2014 12:58 am
by Yurii Orishchuk

Hi Dirk.

Add following CSS code to your CSS asset:

pre

.ui-header-fixed, .ui-footer-fixed{
z-index: 1002;
}

/pre

Regards.


Header above side panel

Posted: Fri Jun 27, 2014 12:27 pm
by Dirk Gissing

Thank you Yurri, that worked!