Format headers and footers
Detailed guide to customizing headers and footers in Gamma presentations.
Headers and footers let you add consistent branding elements, page numbers, and custom text across all cards in your presentation.
Quick reference
topLeft
Top-left corner of every card
topCenter
Top-center of every card
topRight
Top-right corner of every card
bottomLeft
Bottom-left corner of every card
bottomCenter
Bottom-center of every card
bottomRight
Bottom-right corner of every card
text
Company name, copyright, taglines
image
Logo from theme or custom URL
cardNumber
Slide/page numbers
Basic structure
The headerFooter object goes inside cardOptions:
{
"cardOptions": {
"headerFooter": {
"topRight": {
"type": "...",
// type-specific properties
},
"bottomLeft": {
"type": "...",
// type-specific properties
}
}
}
}Element types
Text elements
Add custom text like company names, copyright notices, or taglines.
The value field is required for text elements. Keep text short because headers and footers have limited space.
Image elements (theme logo)
Use the logo from your selected theme:
sm
Small logo (subtle branding)
md
Medium logo (default, balanced)
lg
Large logo (prominent)
xl
Extra large logo (very prominent)
Image elements (custom URL)
Use your own logo image:
When using source: "custom", the src field is required and must be a valid, publicly accessible URL to an image file.
Card numbers
Add automatic page/slide numbers:
Card numbers have no additional configuration. Just specify the position and type.
Hiding from first and last cards
You often want to hide headers/footers from title cards or closing cards. Add these properties at the headerFooter level (they apply to all positions):
hideFromFirstCard
false
Set true to hide from title/intro card
hideFromLastCard
false
Set true to hide from closing/thank you card
Complete examples
Professional presentation (logo and page numbers)
Social media carousel (minimal branding)
Document with theme logo
Common mistakes
Missing value for text elements
Missing src for custom images
Boolean values as strings
Limitations
Not available for
webpageformat — web pages don't have fixed headers/footersSix positions maximum — you can only use the six defined positions
One element per position — each position can only hold one type of content
Related
Generate from text for the full
cardOptionsandsharingOptionscontextImage model accepted values if you are pairing branding with AI-generated images
API Overview for the broader generation workflow
Last updated
Was this helpful?