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.