test page

Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Add Your Heading Text Here

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam

  • Slide 1
  • Slide 2
  • Slide 3
  • Slide 4

function slider1() {
let splides = document.querySelectorAll(‘#hero-promo-slider’); // Using vanilla JS for WordPress compatibility

splides.forEach(function (splideElement) {
new Splide( splideElement, {
perPage: 1,
arrows: true,
pagination: true,
focus: ‘center’,
direction: ‘ltr’,
gap: ’16px’,
type: ‘loop’,
autoScroll: {
autoStart: true,
speed: 0.8,
},
} ).mount( window.splide.Extensions );
});
}

// Initialize the logos slider when the DOM content is fully loaded
document.addEventListener(‘DOMContentLoaded’, function () {
slider1(); n
});

#hero-promo-slider {
max-width: 80%; /* Adjust the width of the slider as necessary */
margin: 0 auto; /* Center the slider horizontally */
overflow: hidden; /* Prevent any overflow issues */
}

.splide__slide {
text-align: center; /* Center the content inside each slide */
}

.splide__list {
display: flex;
justify-content: center; /* Make sure the slides are centered */
gap: 16px; /* Optional: Adds space between the slides */
}

.splide__arrows {
top: 50%; /* Center the navigation arrows vertically */
transform: translateY(-50%); /* Adjust the vertical alignment of the arrows */
}

.splide__pagination {
margin-top: 20px; /* Adds space above the pagination dots */
display: flex;
justify-content: center; /* Center the pagination dots */
}

.splide__arrow {
background-color: #000; /* Optional: Customize the arrow background color */
color: #fff; /* Optional: Customize the arrow icon color */
padding: 10px; /* Optional: Add padding to arrows */
border-radius: 50%; /* Optional: Make arrows round */
}

.splide__pagination__page {
background-color: #ccc; /* Customize the pagination dots color */
width: 10px;
height: 10px;
margin: 0 5px; /* Space between pagination dots */
border-radius: 50%; /* Make the dots round */
}