Added repsonsiveness on slides

This commit is contained in:
James Dinh 2023-01-06 23:12:37 -08:00
parent 602fb0f9c3
commit a448cdbb65
2 changed files with 9 additions and 0 deletions

View File

@ -154,6 +154,11 @@ header {
height: 75vh; height: 75vh;
} }
.splide__slide, .splide__slide:focus, .splide.is-focus-in, .splide__pagination__page:focus-visible {
border: none !important;
outline: none !important;
}
.slide-desc { .slide-desc {
position: relative; position: relative;
font-size: 18px; font-size: 18px;

View File

@ -11,6 +11,10 @@ document.addEventListener( 'DOMContentLoaded', function() {
destroy: true, destroy: true,
}, },
}, },
lazyLoad: true,
keyboard: true,
isNavigation: true,
pauseOnFocus: true,
} ); } );
splide.mount(); splide.mount();
}); });