7/21/26 - Blog history calendar script

This custom widget adds a clean, dynamic calendar to your Blogger site. It automatically scans your published posts and highlights the days you posted with clickable links so readers can easily browse your archive.

Installing this calendar requires no advanced coding—just copy and paste!

Image Preview

Click "read more" for the code and instructions.

English Version

Portuguese Version 

⚙️ How to Install on Blogger ⚙️

  • Log in to your Blogger Dashboard.
  • In the left-hand menu, click on Layout.
  • Choose the sidebar or section where you want the calendar to appear, and click + Add a Gadget.
  • In the popup window, scroll down and select HTML/JavaScript.
  • (Optional) Give your gadget a Title (e.g., "Archive" or "Calendar").
  • Paste the entire code (HTML, CSS, and JavaScript together) into the Content text box.
  • Click Save, then click the Save icon (bottom right of the screen) to apply your layout changes.

🎨 How to Customize the Colors 🎨

All colors are controlled inside the <style> block of the code. Look for the comment tags labeled /* [COLOR] */ to easily swap hex codes.

Here is a quick cheat sheet of where each element gets styled:

Element CSS Selector Property to Edit
Calendar Background #meu-calendario-blogger background: #ffffff;
Outer Border #meu-calendario-blogger border: 1px solid #e5e5e5;
Header Background .cal-header background: #f9f9f9;
Header Dashed Border .cal-header border: 1px dashed #d1d1d1;
Arrow Buttons .cal-header button color: #777777;
Arrow Hover State .cal-header button:hover color: #000000;
Weekday Initials (S M T W T F S) .cal-day-name color: #888888;
Regular Day Numbers .cal-day color: #555555;
Days With Posts (Badge) .cal-day.has-post background: #333333;
Days With Posts (Hover) .cal-day.has-post:hover background: #000000;

No comments:

Post a Comment