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

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
Ex0 SySCreationAsked:
Who is Participating?
 
lenamtlCommented:
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
0
 
Ex0 SySCreationAuthor 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 .. ... .....
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
This expert suggested creating a Gigs project.
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.
2
 
Ex0 SySCreationAuthor 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,
0
 
lenamtlCommented:
I provided a working code & solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.