Custom Captions
Use the Custom Captions shortcode to display styled caption text with adjustable size, HTML tag, font weight, alignment, color and uppercase formatting.
Caption examples
These examples show the same caption treatment at several sizes and opacity levels.
[captions size=”76″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,1)” uppercase=”true”]Uppercase Custom Caption Shortcode[/captions]
[captions size=”66″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.8)”]Custom Caption Shortcode[/captions]
[captions size=”56″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.6)”]Custom Caption Shortcode[/captions]
[captions size=”46″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.4)”]Custom Caption Shortcode[/captions]
[captions size=”36″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.3)”]Custom Caption Shortcode[/captions]
[captions size=”26″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.2)”]Custom Caption Shortcode[/captions]
[captions size=”16″ tag=”div” weight=”600″ align=”left” color=”rgba(50,50,50,.1)”]Custom Caption Shortcode[/captions]
Shortcode format
Copy this format and update the attribute values and caption text as needed.
[captions size="36" tag="h2" weight="600" align="left" color="rgba(50,50,50,1)"]Custom Caption Shortcode[/captions]
Available attributes
- size: Sets the caption size.
- tag: Selects the HTML tag used for the caption.
- weight: Sets the font weight.
- align: Sets the text alignment.
- color: Sets the caption color, including RGBA values.
- uppercase: Applies uppercase formatting when enabled.
Use heading tags only when the caption represents a meaningful heading in the page structure. For decorative or supporting text, use a non-heading tag to keep the page hierarchy clear.