From: Andrew Engelbrecht Date: Mon, 8 Jul 2019 18:36:43 +0000 (-0400) Subject: changes to header, footer and main divs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c900f9d40ac262d152b138d686c0db3719c337ac;p=ryf-theme.git changes to header, footer and main divs 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. --- diff --git a/css/style.css b/css/style.css index 2da5322..403760b 100644 --- a/css/style.css +++ b/css/style.css @@ -172,6 +172,14 @@ a { transition: 0.3s; } 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; } diff --git a/js/hacks.js b/js/hacks.js index 96ed554..6baa3ef 100644 --- a/js/hacks.js +++ b/js/hacks.js @@ -1,9 +1,6 @@ (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");