From c900f9d40ac262d152b138d686c0db3719c337ac Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Mon, 8 Jul 2019 14:36:43 -0400 Subject: [PATCH] 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. --- css/style.css | 8 ++++++++ js/hacks.js | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) 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"); -- 2.25.1