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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user