diff --git a/templates/page.tmpl b/templates/page.tmpl
index 1677d73af1dd47f293eaa3fed1a3a1192434dd35..038463c671d708aabfc04e234c2c73489cc7ff22 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -31,7 +31,7 @@
 <TMPL_IF META><TMPL_VAR META></TMPL_IF>
 <style>
 @media (max-width: 979px) {
-  .navbar-fixed-bottom {
+  .navbar-fixed-top {
     position: fixed;
     margin-left: 0px;
     margin-right: 0px;
@@ -44,7 +44,7 @@
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
 <script src="<TMPL_VAR BASEURL>bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
 
-<div class="navbar navbar-inverse navbar-fixed-bottom">
+<div class="navbar navbar-inverse navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">