Skip to main content
Kamilla Chukanova
New Member
September 9, 2025
Question

Navbar doesn't stretch

  • September 9, 2025
  • 2 replies
  • 321 views

 

Hello everyone,

I'm trying to create a sticky navbar for my portfolio. I have a main frame with Auto layout set to a vertical direction. I've placed my navbar frame inside this main frame and set its position to Absolute position.

I also went to the Prototype tab and enabled Fixed position when scrolling for the navbar.

The problem is that the navbar sticks to the top-left corner, but it does not stretch to the full width of the page. It's leaving a blank space on the right side.

I know that Absolute position takes a layer out of the Auto layout flow, and I've tried to set the navbar's constraints to Left & Right, but it's still not stretching as expected.

My main frame is 1440px

wide, and I need the navbar to always fill that width while remaining sticky.

Has anyone encountered this issue or found a working solution? Any help would be appreciated!

This topic has been closed for replies.

2 replies

Martin_FM
New Participant
September 9, 2025

Hi! I’m assuming you are making a responsive portfolio and want to stretch the navbar along with the main frame. If so, change the horizontal contraint from left to scale. That should fix your issue.

Kamilla Chukanova
New Member
September 10, 2025

​@Martin_FM Thanks for your reply! In the constraints menu the option Scale could not be enabled. I am trying to view the prototype from the “Responsive View” option.