How to make a responsive website with fix headers and footers ?

Ex0 SyS
Ex0 SyS used Ask the Experts™
on
Hello

We would like to know if it is possible to modify our website which has been developed in ASP so that it becomes responsive, but especially by keeping the headers and footers in a fixed position.

Here is the original version of our website (not responsive) : http://www.ex0-sys.ch/

We have a test version of our site that is responsive, but we do not master the technique to maintain our original design.

Here the test version being modified (responsive) : http://94.103.101.201/Ex0.Web.Staging/

What technologies should we use because it seems to be a major problem for everyone?

Thank you in advance for your answers.

Regards,

RL
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ex0 SySCreation

Author

Commented:
Easy graphic approach of the question :


Here is the good design of our NON Responsive website :
Ex0-SyS Website - How To do it Responsive   FIXED Bottom and Top

Here is the bad design of the Responsive testsite :
Ex0-SyS Website - How To do it Responsive   FIXED Bottom and Top

Thanks for your help .. ... .....
David FavorFractional CTO
Distinguished Expert 2018

Commented:
I avoided commenting on this, hoping someone else might.

What you're asking is likely simple to do + also time consuming + also requires access to all your site code, to take a guess at completing this task.

I suggest you open a Gig + hire someone to do this for you.

Likely the entire code change will be simple + determining how to do this correctly (to keep your site functioning well for all screen sizes) may take more time than you might imagine.
Hi,

As you are using Bootstrap already...
The code for a sticky nav and sticky footer will be easy to apply to what you have and this will required some little CSS adjustment to your code here is the live example :https://getbootstrap.com/docs/3.3/examples/sticky-footer-navbar/

The nav-bar have a  navbar-fixed-top class
<nav class="navbar navbar-default navbar-fixed-top">

Open in new window


Custom CSS (you will need to adjust it to your needs)
/* Sticky footer styles */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}

Open in new window



Here are all the basic example that you can play with..
http://getbootstrap.com/docs/3.3/getting-started/#examples

If you don't have time to learn and you are on tight budget you can buy low cost template most of them use Bootstrap.
just check for compatible with Bootstrap v3
https://themeforest.net
Ex0 SySCreation

Author

Commented:
Thanks for your comments :)

Now our DeV have to try it...

Hope it will do the trix.

Happy New Year to all and see you next year .. ... .....

Regards,
I provided a working code & solution

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial