diff --git a/inc/home.css b/inc/home.css index 976f4bc7..f9d1599c 100644 --- a/inc/home.css +++ b/inc/home.css @@ -258,7 +258,7 @@ footer h5 { /* testimonials */ #testimonials { - padding: 0.5em 0 0.5em 0; + padding-top: 0.5em; } .testimonial { diff --git a/inc/home.js b/inc/home.js index 7b98da20..52decf3f 100644 --- a/inc/home.js +++ b/inc/home.js @@ -18,7 +18,7 @@ window.addEventListener('load', function() { }); /* carousel */ -window.addEventListener('load', function() { +document.addEventListener('DOMContentLoaded', function() { const glider = new Glider(document.querySelector('.glider'), { slidesToShow: 1, dots: '#dots',