Fixed text element moves Element Grid
-
Hey there,
I'm working on my friends webpage at the moment and I want to add some text to every project which is supposed to be fixed. So I can scroll through the pictures but the text is fixed in the project.
like here: (Arrifana May 2020 is supposed to stay fixed and the pictures scroll down)
:If I set it up in the project and give the text a class, in this case: fixed-element
and define it like this in the css:
.fixed-element{
position: fixed;
top: 70px;
left: 0%;
right: 0%;
z-index: 10;
}the element grid with the pictures moves to the left side, can someone tell me how to define the text (Test TEST) without affecting the pictures? it looks like this at the moment:
http://www.hugoanddeb.com/arrifana
thanks in advance :)
-
Dear @lmpa92
you should only move one text element. Otherwise the layout collapses.
Not the whole row.
Best!
Marius -
-
Dear @lmpa92
I would try to do the styling in the Browser-inspector. Then you can see better what is happening and why things are moving around in a weird way.
Best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

