Forum Academy Marketplace Showcase Pricing Features

Full height page (no scrolling)

Hey bubblers,

Still learning the new responsive engine and feel a bit stuck on the basics. I am looking to make a page that is set to be the height of the viewport at all times, so there is no scrolling whatsoever. My pages don’t seem to have a dynamic height and pages with some content on it are too long and I have to scroll down to see it.

The purpose of this is to have “native app feel” while being on different devices. Any way to do this in the new engine?

Thanks!

Lucas

Wether an app has a native feel is more determined by the correct width and of course the styling of the elements and not so much by the height. Otherwise how are you ever going to fit all of the content on a mobile screen (f.i. a FAQ with 50 questions and answers, a registration form etc).

A couple of tips:

  • Just make sure that page and element width is not larger than the width of the mobile devices you aim for (f.i. 320 px).
  • For mobile, use a floating bar which is positioned relative to the bottom of the screen, at the bottom of the screen. Even if the page height is larger than the viewport, it will still look good.
  • Use a slideable menu (either plugin or build it yourself)
  • Keep a good eye on performance (f.i. the old single page vs. multipage consideration).
  • Restyle (f.i. plugin Sweet Scrollbar) or even hide scrollbars
  • Use conditional hiding/displaying of elements

Based on your requirements there probably are a lot of other things possible.

1 Like