KAMIL DEX - POST BOXES LIBRARY (v3)
===================================
How to use: Blogger > New post > switch to HTML view > paste a snippet > edit only the text.
Works with theme v48 or newer. All snippets follow light/dark mode automatically.
Never delete the class names. Change only the words, links and dates.
-----------------------------------------------------------------
1. OFFER BOX - Active (promo code + referral code + button)
-----------------------------------------------------------------
- Change: brand, text, codes, link, and the date (both datetime and visible date).
- Re-check the codes every ~3 months and update the date.
- After 180 days the badge automatically changes to "Check before use".
- Optional: add data-expires="YYYY-MM-DD" to the first line if the offer has a known end
date (example:
). After that date the
box shows "Expired" automatically.
We may earn a commission if you sign up with this code.
-----------------------------------------------------------------
2. OFFER BOX - One code only (shorter)
-----------------------------------------------------------------
We may earn a commission if you sign up with this code.
-----------------------------------------------------------------
3. OFFER BOX - Not verified yet (yellow badge)
-----------------------------------------------------------------
Use when you have not tested the code yourself.
We may earn a commission if you sign up with this code.
-----------------------------------------------------------------
4. OFFER BOX - Expired (red badge, code crossed out)
-----------------------------------------------------------------
Use when the offer has ended and you want to keep it visible.
Brand Name✕ Expired
This offer has ended.
PROMOCODE
Last verified:
-----------------------------------------------------------------
5. ALERT BOXES (colored message boxes)
-----------------------------------------------------------------
Blue = info, Yellow = warning, Green = success, Red = error.
This is an info message.
This is a warning message.
This is a success message.
This is an error message.
Outline style (light background with a border, no color fill):
-----------------------------------------------------------------
7. TABLE OF CONTENTS (auto-generated from the post headings)
-----------------------------------------------------------------
- Put it near the top of the post. It lists every heading (H2, H3 ...) in the post automatically.
- The post needs at least one heading, otherwise it stays empty.
Table of Contents
-----------------------------------------------------------------
8. BUTTONS (basic styles - use the centered versions from section 13 onward)
-----------------------------------------------------------------
Raised button:
Button text
Outline button:
Button text
Rounded raised button:
Button text
Affiliate link: use rel="sponsored nofollow noopener" instead of rel="noopener".
-----------------------------------------------------------------
9. TABLE (header colors: table_primary / table_success / table_warning / table_error)
-----------------------------------------------------------------
Optional extras on the
class: table_stripped (zebra rows), table_hovered (row highlight on hover).
Feature
Card A
Card B
Fee
$10
$5
Limit
$5,000
$3,000
-----------------------------------------------------------------
10. INLINE CODE and CODE BLOCK
-----------------------------------------------------------------
Inline: Use the command npm install to install it.
Block:
line one
line two
-----------------------------------------------------------------
11. IMAGE WITH CAPTION (featured/inside images: 3:2, JPG/WebP, under ~150 KB)
-----------------------------------------------------------------
Caption text
-----------------------------------------------------------------
12. OFFER BOX - NO DATE (always shows Active, never changes)
-----------------------------------------------------------------
- No "Last verified" line, so it stays "Active" forever and nothing is changed automatically.
- Use it only for codes that rarely change. Check the code yourself from time to time,
because nothing will warn readers if it stops working.
Two codes:
We may earn a commission if you sign up with this code.
-----------------------------------------------------------------
13. BUTTON - Google Play Store
-----------------------------------------------------------------
-----------------------------------------------------------------
14. BUTTON - Apple App Store
-----------------------------------------------------------------
-----------------------------------------------------------------
23. BUTTON - Open another post on this site
-----------------------------------------------------------------
(Same-site link: opens in the same tab.)
-----------------------------------------------------------------
24. TWO BUTTONS in one row (both stay centered)
-----------------------------------------------------------------
- On a phone, if the screen is too narrow, the second button moves to the next line and stays centered.
-----------------------------------------------------------------
25. PLAY STORE + APP STORE together (centered)
-----------------------------------------------------------------
-----------------------------------------------------------------
26. THREE BUTTONS in one row
-----------------------------------------------------------------
-----------------------------------------------------------------
BUTTON STYLE GUIDE (change only the word after "gila_material_button")
-----------------------------------------------------------------
raised = filled button with shadow (main action: Download, Sign Up, Join)
outline = border only (secondary action: Official Website, Read More)
raised rounded = filled with round corners (app store buttons)
Link rules:
- Affiliate / referral link -> rel="sponsored nofollow noopener"
- Normal outside link -> rel="noopener"
- Link to this website -> no target and no rel needed