dynamic margin? is it possible
-
[ Moderator note: moved to Fixing WordPress. ]
Hi,
I have this page that I just did, and there is this element that has position:fixed. So it always stays in its place.
I am using it to provide links to different parts of the page, with links to ids. The margin for this division is set just to be right after the navigation with negative margin. So far so good.
Is there a way to adjust the margin again when the navigation is out of the screen so it can go closer to the top? … obviously when the navigation os off the screen?
So far I have the desktop version of this page. It looks better on tablets and desktops or big screen cells. I am editing the mobile version but it is not ready yet.
Thanks for reading !
- The topic ‘dynamic margin? is it possible’ is closed to new replies.