Navbar + Side Content without initial scroll

Hello WeWeb Community,

I’m creating a web page using the sections from Add → Layout. I added a side menu, a navbar, and a side content (3 sections).

By putting those three elements from the Layout library on the page, you can see the content is already scrollable.

Does anyone know if it is possible to make that scroll automatic, as in, only if necessary?

PS: I believe this happens because the navbar is “pushing” the content section down. But I could not fix it.

Select the content you want.
In the right bar scroll down and set Overflow to auto.

1 Like

It’s not what I want. I know about the Overflow property, but how can I make two different sections fit 100% on the screen?

@daniel.oliveiravas Sharing a video will help troubleshoot

What I would do?

In the content and side menu I would put the height as 86vh and the NavBar as 14vh. Try this.

The “vh” goes from 0 to 100 using the total height of your screen ( I think :sweat_smile: ).

1 Like