Yogaflex is a website template for yoga studios, pilates classes and wellness teachers, built on Bootstrap 5. The layout is responsive and mobile-ready and works in all popular web browsers. It comes with nine pages: home, about, trainers, courses, schedule, blog, blog post, contact and elements.
The home page has a full-screen photo hero, a why-us section, featured classes, a weekly timetable, a member reviews slider, a call to action and the latest blog posts. The inner pages add teacher profiles, a course list, a schedule, a blog with working search, category filter and pagination, a post page with comments, a contact page with a click-to-load map and a working contact form, and an elements page with the typography, buttons, forms and a photo gallery with a lightbox. Yogaflex gives you a ready-made site to present your studio, your classes and your teachers.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.0 and jQuery), compiled from Sass together with the theme, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel in the reviews slider, PhotoSwipe replaces Magnific Popup in the gallery, a keyboard-operable dialog replaces the old mobile menu, and Lucide SVG icons replace the icon fonts. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all nine pages together went from 18.7 MB and 377 requests to 5.7 MB and 217 requests, and the download from 8.2 MB to 4.8 MB. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the fold, and the unused plugins are gone.
No third-party requests: Roboto is self-hosted, the social logos are a small Font Awesome Brands subset, the contact map loads from OpenStreetMap only after a click, and a Google Analytics 4 snippet stays commented out until you add your own ID.
A new look for the heroes: full photos under a dark scrim replace the grey gradient cut-outs, with portrait crops on phones. The teacher portraits and all other photos are new, credited to their Unsplash photographers in the README.
Working forms: the contact, comment and newsletter forms have labelled fields, a spam trap and a PHP handler (set the recipient in php/send-email.php and php/subscribe.php). The blog search, category filter and pagination work in the browser.
Accessibility: skip link, one h1 per page, keyboard-operable menus and submenus, visible focus rings and text contrast of at least 4.5:1, measured against the pixels behind the text.
Per-page titles, descriptions, social preview image and structured data; the README and the documentation page cover the colours, fonts, icons, forms and SEO set-up.