Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
On a project which was actually already done I decided to add a fixed container at the top of the landing page. So I simply added a container at the bottom of the RC working area and gave it the additional CSS style position: fixed; z-index: 100; top: 00vh; to stick it to the top of the page. No my question: Since all other containers of this page are horizontally centered I centered this one as well. However, in the preview it's placed far to the right. I made a demo project. It's the blue container. See screenshot: I found that if I left-align this container, it will appear centered. Why is that? The .rcd demo file is here for download: https://4hundert.de/public/micae... |
||||
|
why don't you push the container straight up? Select the container and move it upwards by holding down the mouse button on the top left symbol. |
||||
|
Yes, thanks, that's a solution. I can then easily center the container. I'm still wondering, however, why that's not possible if I use the top: 00vh;css style. |
||||
|
I think you also need to specify a 'left' or 'right' position, otherwise it just gets centered by whatever rule comes before. |
|