Credits: Photos from Unsplash and the original template
Description
Crossfit X is a gym website template for CrossFit boxes, strength studios and personal trainers. It keeps the black header with the orange rule, the full-height photo slider with its big headline and numbered dots, the dark feature strip, the split subscription band, three plan cards on a dark photo and a seven-day class schedule. Six pages are included: home, about, classes, news, contact and an elements page.
Rebuilt from the original layout: three different hero slides, the feature strip, the photo gallery, testimonials, plans, trainers and the weekly schedule.
Bootstrap 5.3.9, vanilla JavaScript, Swiper for the sliders, Lucide icons and self-hosted Roboto. No jQuery.
Pages load 2.8 MB instead of 10.5 MB in the original, with AVIF images and original-format fallbacks; the download is 4.6 MB.
No third-party requests: fonts, icons and libraries are local, and the map loads only when a visitor presses “Show map”.
Readable contrast for buttons, labels and body text, visible keyboard focus and keyboard-friendly sliders, tabs and accordions.
Working contact form with a spam trap and clear success and error messages, plus a search that filters the news page. Set your address in php/send-email.php.