Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Can I create a non-scrolling header?

captainwebb
Registered User
Quote
2017-08-28 19:23:49

I'd like to have a header (defined in a masterpage) which remains visible, i.e fixed, when a user scrolls down a web page on the site.

Any way I can do this in RC?

I suspect I could use an iframe to hold the "scrolling" material, but I'm not sure about the resizing for mobile.


niko
Moderator
Quote
2017-08-29 07:39:30

You can do this like this: Put the stuff which should be fixed into a container on the master page. Right-click that container, select HTML Code -> additional CSS styles. There, enter this:
position: fixed;


Then it should work.


captainwebb
Registered User
Quote
2017-08-29 13:25:39

Thanks for that, Niko

Unfortunately, only the Professional Edition supports additional CSS ...




niko
Moderator
Quote
2017-08-30 20:31:46

Hm, in that case, you could try with an iframe as you suggested before. Maybe that also works for you.


lahiru
Registered User
Quote
2017-11-19 08:45:34

I tried that code, and now its fixed but went back from all the other components. How can I get it on top?


erik
Registered User
Quote
2017-11-19 11:43:42

Drag it to be the first element of all, that should do the trick.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact