Page 1 of 1

Page header won't go small enough

Posted: Sun May 05, 2019 4:43 pm
by alan_sh
I have a page header which I am using so that menus etc don't scroll off the top when a user scrolls up. However, I can't seem to get the size small enough in my 320 breakpoint view. It seems fixed at a vertical size of 415 pixels.

I have set the size to 'fixed' because that is what works to stop the menu within it scrolling off the screen.

I have created a very small .wbs file here https://www.dropbox.com/s/a89dcobnh0vk3 ... h.wbs?dl=0 which has a header and one menu inside it. But I can't make the header the same length (vertical) as the menu - it's fixed at 100.

What do I need to do to fix this? Or am I missing something?

cheers

ALan

Re: Page header won't go small enough

Posted: Sun May 05, 2019 5:00 pm
by Pablo
A page header is always full width, so you cannot resize it horizontally.

Re: Page header won't go small enough

Posted: Sun May 05, 2019 6:17 pm
by alan_sh
I am talking vertically

Alan

Re: Page header won't go small enough

Posted: Sun May 05, 2019 7:47 pm
by crispy68
Based on your demo, i'm not really sure what you are trying to accomplish. I do see in your 320bp that the menu is not completely in the header and is outside the layout boundaries.

If you want the header to be the same size as your menu, then just make it so. In your demo, the menu is 69px high. Simply making the header the same does the trick.

Setting it to fixed simply makes the header stick to the top of the screen and has nothing to do with the size. If you have a header that wont resize smaller for some reason, then it's due to an object within the header, possibly a hidden object, preventing it from resizing vertically.

Unfortunately, your demo does not demonstrate the problem you are having.

Re: Page header won't go small enough

Posted: Sun May 05, 2019 8:31 pm
by alan_sh
Pablo,

I thought it did demonstrate it in that I couldn't make the layer as small as the menu vertically.

I will have a look again in the morning.

Cheers

Alan