Add this fancy initial caps feature to your blog posts! Simply copy the code below and add it to a code block, then replace the placeholder text with your first paragraph and voila! You've got yourself a fancy drop cap.
📝 Modern Drop Cap Effect for Squarespace
Copy and paste this into a Code Block at the top of your Blog Post. Replace the placeholder text with your first paragraph!
🚀 Drop Cap Tool—User Instructions
This tool lets you add a drop cap (large first letter) to the first paragraph of a blog post. It enhances readability, improves aesthetics, and is optimized for SEO and accessibility.
✍️ How to Use This Code
Paste the code into your blog post or page.
Add a new HTML code block and post this code inside
Scroll to the bottom of the code and replace:
ADD PARAGRAPH TEXT HERE!
with your blog post's first paragraph.
🎨 How to Customize the Styles
1️⃣ Edit the Drop Cap (First Letter)
🛠 Find this part of the code in the CSS section:
.drop-cap-container p:first-of-type::first-letter {
font-size: 4.5em; /* Change size */
color: #14A19D; /* Change color */
font-weight: 700; /* Change boldness */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Remove for a clean look */
}
font-size = to change size of the first letter
color = to change the first letter color
font-weight = to change the boldness of the first letter
📈 SEO & Accessibility Optimizations
This tool is fully optimized for SEO and screen readers by using structured data (Schema.org) and ARIA attributes.
✅ Schema.org Markup: Helps search engines understand that this is an article.
✅
itemprop="articleBody":
Explicitly tells Google the main content of the article.✅ ARIA Accessibility (
role="article"
): Screen readers correctly identify this as an article.✅ Semantic HTML (
<article>
): Improves site structure and search rankings.
SEO Benefits
🔹 Helps Google better understand the article structure.
🔹 Improves accessibility for visually impaired users.
🔹 Enhances rich snippets in search results.