NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on February 05, 2013, 01:25:36 AM

Title: How can we make footer stay on the bootom
Post by: Robert Iliuta on February 05, 2013, 01:25:36 AM
Hallo,


I would like to have footer stay on the bottom of the page. Now the footer stay under the last control like in examples. I would like to be when you use frames... to stay on the bottom of the page even if you resize the page.
example: http://matthewjamestaylor.com/blog/bottom-footer-demo.htm (http://matthewjamestaylor.com/blog/bottom-footer-demo.htm)


How can we do this in NT?

Thank you,
Robert
Title: Re: How can we make footer stay on the bootom
Post by: estadok on February 05, 2013, 03:21:01 AM
Hi Robert!

You can try to change the nettalk-ui.css in your theme folder

.nt-site-footer{
   border-top:5px solid #7190E0;
   width: 99%;
   height:50px;
   position:absolute;
   bottom:0;
}
Title: Re: How can we make footer stay on the bootom
Post by: Robert Iliuta on February 05, 2013, 04:40:50 AM
Hallo,

thank you for help. Now it's working but not 100% as I want :o)
If you resize the height the footer will go up over body content...How can I prevent this?, the footer should stop if find the body content...
In example from that link if you resize the height you will see how the footer will stay fixed when find the body content.

Something like this I want.

Thanks,
Robert
Title: Re: How can we make footer stay on the bootom
Post by: estadok on February 05, 2013, 05:33:02 AM
try to change netweb.css in style folder

html {
margin: 0;
padding: 0;
min-height: 100%;
position: relative;
}