diff --git a/assets/js/common.js b/assets/js/common.js index 85013fb2..2d6f06c3 100644 --- a/assets/js/common.js +++ b/assets/js/common.js @@ -15,6 +15,7 @@ $(function () { } else if (element.is('div')) { // set the style to background-size: cover; element.css('background-size', 'cover'); + element.css('background-position', 'center'); } } }