Drop Cap Shortcode Examples
Use a drop cap to give the opening character of a paragraph a more distinctive, editorial look. Choose one of the four available styles, then optionally apply a preset background or text color.
Quick start: add a drop cap shortcode before the first character of a paragraph.
Basic drop cap styles
The examples below show the four available drop cap styles.
Style 1
[dropcap1]A[/dropcap1] drop cap can draw attention to the beginning of a paragraph while keeping the rest of the content easy to read.
Style 2
[dropcap2]B[/dropcap2]egin with a single character and continue with your regular paragraph text.
Style 3
[dropcap3]C[/dropcap3]hoose this style when it best complements the design of your page.
Style 4
[dropcap4]D[/dropcap4]rop caps work best at the start of a meaningful paragraph, rather than on every section.
Copy the shortcode pattern
Replace the letter between the opening and closing shortcode tags with the first character of your paragraph.
[dropcap1]A[/dropcap1][dropcap2]A[/dropcap2][dropcap3]A[/dropcap3][dropcap4]A[/dropcap4]
For example:
[dropcap1]A[/dropcap1] meaningful paragraph begins here.
Color variations
Preset color names available in the shortcode examples are red, orange, yellow, green, olive, blue, purple, hotpink, wheat, silver, and black. Use color thoughtfully and make sure the opening letter remains easy to read against its background.
Background color examples
Styles 1, 3, and 4 use the bgcolor attribute in the available examples.
[dropcap1 bgcolor=”red”]A[/dropcap1] red background example.
[dropcap3 bgcolor=”blue”]B[/dropcap3] blue background example.
[dropcap4 bgcolor=”green”]C[/dropcap4] green background example.
[dropcap1 bgcolor="red"]A[/dropcap1]
Text color example
Style 2 uses the textcolor attribute in the available examples.
[dropcap2 textcolor=”purple”]D[/dropcap2] purple text color example.
[dropcap2 textcolor="purple"]D[/dropcap2]
Change the color value to any of the preset names listed above.
Tips for using drop caps
- Use a drop cap at the beginning of a key paragraph to create a clear visual entry point.
- Keep the opening character and surrounding paragraph readable.
- Use one style consistently within the same page or article.
- Preview the page after publishing to confirm that the selected color works with the surrounding design.
Frequently asked questions
Which drop cap styles are available?
Four styles are available: dropcap1, dropcap2, dropcap3, and dropcap4.
How do I add a color to a drop cap?
Use bgcolor with styles 1, 3, or 4, such as [dropcap3 bgcolor="blue"]A[/dropcap3]. Use textcolor with style 2, such as [dropcap2 textcolor="blue"]A[/dropcap2].
Which preset colors can I use?
The available examples use red, orange, yellow, green, olive, blue, purple, hotpink, wheat, silver, and black.
What should go inside the shortcode?
Place the opening character of your paragraph between the opening and closing shortcode tags.