Hey, i have a fixed text on a few pages on my site and i want the text to move up when the footer comes in at the end of the page. Now the footer and the text are overlapping eachother. How do i fix this?
-
Fixed text move up when footer moves in
-
Dear @zwtsr
There could be a few solutions depending on design. Are you able to post a link to your website, this can help testing.
The text is
Fixed
so will always control it's own space:"An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.
A fixed element does not leave a gap in the page where it would normally have been located."You may want to add some space above your footer, making room for the fixed text. Another options is to change the
position
property of your Footer to interact with the text and not be overlapped but this may create some issues, would need to test and see.
Talk soon & best wishes
Richard