changes to header, footer and main divs
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 8 Jul 2019 18:36:43 +0000 (14:36 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Mon, 8 Jul 2019 18:36:43 +0000 (14:36 -0400)
changes were made to the ryf theme so that the "container" class is set
in html, via the theme configuration system, the header was set to
"static top", and the footer is expanded to full width via the css in
this commit.

css/style.css
js/hacks.js

index 2da53221db1d55a44e0b13f0147b54b0eaf2dbba..403760b666ac3b708dc9d0654ab3d5cc4e61171b 100644 (file)
@@ -172,6 +172,14 @@ a { transition: 0.3s; }
   color: #FFF;
 }
 
   color: #FFF;
 }
 
+/* full page width of footer */
+.footer {
+  position: absolute;
+  left: 0;
+  right: 0;
+  width: 100%;
+}
+
 .footer a { color: #edd400; }
 
 .footer a:hover { color: #FFF; }
 .footer a { color: #edd400; }
 
 .footer a:hover { color: #FFF; }
index 96ed554588993bae865f5dc1cc12f5a31f1f301a..6baa3ef11d1c2ff1a238cd4887eb606c2e776882 100644 (file)
@@ -1,9 +1,6 @@
 (function($){
        $(document).ready(function(){
                
 (function($){
        $(document).ready(function(){
                
-               // Fixing hack to main-containe width Layout
-               $(".main-container").addClass("container");
-               $(".main-container").removeClass("container-fluid");
                // expand top menu by default in mobile view
                $("#navbar-collapse").addClass("in");
 
                // expand top menu by default in mobile view
                $("#navbar-collapse").addClass("in");