Streaming live at 10am (PST)

Fixed navbar not positioned absolutely


#1

Position: fixed isn't showing absolutely :frowning:
https://preview.webflow.com/preview/cdl?preview=1212c20efbeacb7236cc2560566003db
Page: The Levant Clinic


#2

What is the desired behavior you're looking to achieve with the navbar, and what is happening instead? :smile:


#3

The navbar used to work fine until today i realized it wasn't.
It's supposed to appear when i scroll down and disappear again when i scroll to the top.
The interaction is working as i can observe the navbar as it disappears, however, it seems to be fixed to the top of the page and not the browser window. Maybe it's a bug :confused:


#4

Did you find out anything @bart about this?
Still the position: fixed is being overwritten or something.
I tested it again with a different positioning, the interactions are working fine, but it won't stick.
I created a new navbar with fixed positioning, still not sticking..


#5

Hello Anna
I think I solved the problem.
You are using Child perspective on your body page. I'm not sure why, but it is interfering with the nav.

That should fix the problem, but I am encountering another problem with the nav. The text seems to move up and down. I can not pinpoint what is causing this strange mishap.

David


#6

Oh wow thx David @Davidlin_ch12 it worked. I don't know why i have that children perspective there in the first place. But thx for identifying it and thx a lot for the help :) I appreciate it very much

Anna


#7

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.