Magnews is an online magazine template for news, sport, music, lifestyle and business sites, built on Bootstrap 5. It has two pages: the home page and an article page. The home page has a hero slider, trending posts with category tabs that filter the cards, news and sport blocks, a popular-video slider, popular posts, a widgetized sidebar and footer with social buttons, a newsletter form, a photo gallery and an updates list. The article page adds a breadcrumb, share buttons, tags, nested comments, a reply form and related posts. The layout is responsive and works across current browsers.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 3.3.7 and jQuery 2.2.4), compiled from Sass with the Bootstrap 3 proportions the design was drawn with, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the four sliders, and npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter and calmer: the two pages together went from 3.41 MB and 84 requests to 3.26 MB and 71 requests (decimal MB, measured with a cold cache), even though every photo is now cut at twice its display size. Each photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the first screen.
No third-party requests: Open Sans and Lato are self-hosted, Glyphicons and Font Awesome 4 (the Glyphicons files were never included, so the 1.0 pages logged missing fonts) are replaced by Lucide SVG icons and a small social-logo subset, and a Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the newsletter and comment forms send through php/send-email.php with validation, labels, a spam trap and an in-page message, and the header search is a GET form. Before, no form had an action or field names.
Accessibility: a skip link and a main landmark, one h1 per page, labelled menu, search and back-to-top buttons, named image links, visible focus rings, reduced-motion support and WCAG AA text contrast, with a darker red for white labels, darker meta greys and a scrim under the slider titles.
Demo content: magazine headlines, summaries and comments replace the filler text, the Trending Posts tabs now filter the cards by category, the placeholder advert images are text promo slots, the Twitter and Flickr widgets are plain update and photo-gallery lists, and every link points to a real page or section.