Fix footer width calculations

-The footer was being resized at the wrong width breakpoints because of an issue with determining the current width of the screen. If you had previously fine-tuned your page_footer.footer_height_xxx and page_footer.social_link_percent_height_xxx options, they may need to be readjusted to account for the new proper width breakpoints after this fix is applied
This commit is contained in:
Joe Uhren
2022-09-18 17:00:17 -06:00
parent 261c2b6d1d
commit a38284f2ae
+2 -2
View File
@@ -157,7 +157,7 @@ html(lang='en')
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
function fixFooterHeightAndPosition() {
var screenWidth = $(window).width();
var screenWidth = $(window).outerWidth();
if (screenWidth <= 575) {
// Mobile
@@ -205,7 +205,7 @@ html(lang='en')
}
function getSocialLinkHeight() {
var retVal = 70;
var screenWidth = $(window).width();
var screenWidth = $(window).outerWidth();
if (screenWidth <= 575) {
// Mobile