Repository navigation
Pixel 2.0.0 — Free News & Magazine Blogger Template
Pixel is a free news & magazine Blogger template (Blogspot theme) by Colorlib — responsive, SEO-optimized, AdSense-ready, and built with 100% vanilla JavaScript.
Live Demo · How to install · Full changelog
What's in 2.0.0
Major modernization release: zero frameworks, zero render-blocking external assets, structured data, and a full accessibility pass.
Upgrade notes
- When saving the theme, Blogger may warn that the FollowByEmail (Newsletter) widget will be deleted — confirm the deletion; the widget posted to FeedBurner email subscriptions, which Google shut down in 2021
- In Theme → mobile settings (gear icon), choose "Desktop" — the template is fully responsive, and serving it directly removes Blogger's legacy mobile wrapper and its
?m=1redirect (~500 ms per mobile visit)
Performance
- Bootstrap removed entirely — the template used only a handful of Bootstrap classes (
row,col-sm-3,input-group,btn, a few utilities), which are now ~16 lines of custom CSS; this removes ~31 KB of gzipped render-blocking CSS - jQuery removed entirely — every script (menu builder, mega menu, featured grid, sidebar feed widgets, custom widgets, tabs, search overlay) rewritten in modular vanilla JavaScript; the head now loads zero external render-blocking assets
- Right-sized images — feed-driven widgets no longer rewrite Blogger's 72px thumbnails to full-size
s1600originals; they request context-appropriate sizes (s400–s1200), the largest bandwidth saving in the template - Featured grid LCP/CLS fixes — the grid reserves its height while loading (no layout shift), the hero image preloads with
fetchPriority=high, and the feed request is skipped entirely on non-homepage views where the grid is hidden - Same-origin
fetch()withalt=jsonreplaces all JSONP feed loading; post images are scanned with an inertDOMParserso feed processing no longer downloads every image in each post - Swiper loads on demand — only when a gallery custom widget actually exists on the homepage, instead of render-blocking in the head on every page
- Facebook SDK lazy-loads — fetched once (was loaded twice), only when facebook comments are configured, and only when the comment area scrolls near the viewport; upgraded v2.0 → v21.0
- Preconnect hints for cdn.jsdelivr.net, fonts.googleapis.com, and fonts.gstatic.com
- Native lazy loading (
loading="lazy",decoding="async") on below-the-fold template images - Server-side image resizing — post cards use Blogger's
resizeImage()expression (800px) so full-size originals never reach the browser; the sidebar Featured Post background is resized the same way - Blogger's render-blocking widget CSS bundle suppressed via
b:css='false'(~750 ms off the critical path); the template ships its own styles for all widgets - Swiper pinned to an exact version (11.1.14) for 1-year immutable CDN caching instead of jsDelivr's 7-day range cache, and its on-demand CSS loads outside the critical request chain
- Removed the dead Google+ follow button from the Profile widget, which pulled in
apis.google.com/js/platform.js(~58 KiB) on every page - Removed duplicated scripts that ran multiple times per page (
.format-date×4, author/ad injection ×2), the hidden Navbar widget's dead Google+ scripts, and the eager hidden YouTube iframe in gallery widgets
SEO
- Removed site-wide
index,nofollowrobots meta that made every link on every page nofollow - JSON-LD structured data:
WebSite+SearchActionsitewide,BlogPosting(headline, image, dates, author, publisher) on post pages - Open Graph and Twitter
summary_large_imagecard meta tags - Post pages now have exactly one
h1(the post title); the blog header title is anh1only on the homepage - Image
altattributes are no longer overwritten with filenames; alt text is only filled in when missing - Removed obsolete meta tags (
MobileOptimized,HandheldFriendly,apple-mobile-web-app-capable)
Accessibility
- Skip-to-content link, visually hidden until focused
langattribute from the blog's locale on thehtmlelement and amainlandmark on the content wrapper- Labeled search buttons (
aria-label), keyboard-focusable search trigger, Escape closes the search overlay, and the search input is focused on open - Sidebar and comment tabs expose valid
tablist/tab/tabpanelroles (role='presentation'list items) witharia-selectedkept in sync aria-labelwith the post title on every background-image post link (featured hero and secondary cards, recent-post thumbnails, list-widget thumbnails, mega menu covers, grid cards)- Contact form fields and the archive dropdown are labeled with Blogger's own localized strings
- Icon-only pager arrows carry screen-reader-only text; labeled mega menu arrows and mobile navigation selects
- Profile widget uses valid markup instead of a definition list whose
dtcould appear without add
Fixed
- Broken
notfound.pnggfallback image URL in the PopularPosts script - Mega menu labels linked to the original author's demo blog (
pixel-blossom.blogspot.com) instead of the user's own blog - Default ad placeholders linked to the defunct
blossomtheme.comdomain over http - Mixed-content http:// image URLs (fallback images, comment avatars, background pattern)
maxwidget→maxwidgetstypo on the featured grid section- Author bio link title was hardcoded to "Posts by Diago"
eval()calls in the tab plugin (blocked strict Content Security Policies)
Removed
- Bootstrap 5.3.8 CDN stylesheet (replaced by ~16 lines of custom CSS)
- jQuery 3.7.1 and the tabslet, simplyTab, and replacetext jQuery plugins (replacetext was never called)
- FollowByEmail "Newsletter" widget and its CSS — it posted to FeedBurner email subscriptions, which Google shut down in 2021
- Hidden Navbar widget markup (discontinued Google+
plusone.js, demo-blog iframe) - Dead WooCommerce CSS selectors and obsolete
-o-/-moz-/-webkit-transition prefixes
Upgraded
- Bootstrap 4.6.0 to 5.3.8 — updated CDN link and migrated all Bootstrap 4 classes to v5 equivalents (
pull-righttofloat-end,data-toggletodata-bs-toggle,data-targettodata-bs-target, etc.) - Owl Carousel to Swiper 11 — replaced Owl Carousel slider with Swiper, including new
.swiper-wrapperstructure and navigation buttons - Font Awesome 4.7.0 + Ionicons to Font Awesome 7 — consolidated two icon libraries into one; migrated all icon unicode values and font-family declarations
- jQuery 1.11.0 removed — replaced with vanilla JavaScript for all template functionality (search toggle, mobile menu, tabs, featured post carousel)
Added
- Sticky sidebar with
position: stickyfor better content navigation - CSS Grid layout for the featured posts section (replaces float-based layout)
- Modern social media icons: X (Twitter), TikTok, Threads, Telegram, WhatsApp
- Swiper CSS loaded via CDN for slider functionality
- Proper
type="submit"attribute on search button
Removed
- jQuery dependency (was v1.11.0 from Google APIs CDN)
- Owl Carousel library (replaced by Swiper 11)
- Ionicons library (consolidated into Font Awesome 7)
- Obsolete social icons: Google Plus, StumbleUpon, Digg, Delicious, SlideShare, Yahoo
maximum-scale=1from viewport meta (improves accessibility — allows user zoom)- Obsolete vendor-prefixed transition declarations in social icon styles
Fixed
- Search form close button uses proper Font Awesome icon instead of Ionicons
- Pagination arrows use Font Awesome icons consistently
- Comment timestamps use correct font-family declaration
- Featured post secondary items no longer use
display: block(fixes layout) - Featured grid secondary items: text overlay (label, title, author, date) now stays anchored to its respective image instead of being displaced to only one image — moved
.pixel-contentinside.pixelfeatured-thumband addedposition: relative; overflow: hiddento the thumb container - Author description updated from "Blossom Themes" to "Colorlib"
- Demo content XML cleaned up and modernized
- Demo content no longer embeds an obsolete copy of the template — the original blog export carried the full jQuery-era theme as a kind#template entry (51% of the file); only posts, pages, comments, and settings remain
To install: download the source zip below, then paste the contents of Pixel-Blogger-Template.xml into Blogger → Theme → Edit HTML.