Rich Content Formatting

Background Macro

Background Macro

Background Macro screenshot

What It Does

The Background macro applies a background color, gradient, or image to any section of a Confluence page. Use it to visually separate content zones, highlight important sections, or create a branded look.

Configuration Options

SettingOptionsNotes
Background TypeColor, Gradient, Image
ColorColor picker or hex valueFor Color type
OpacitySliderFor Color type
GradientStart color, end color, directionFor Gradient type
ImageUpload Confluence attachment or stock imageFor Image type
Image sizeCover, Contain, AutoFor Image type
Image positionTop, Center, Bottom etc.For Image type
Image opacitySliderFor Image type
Overlay color + opacityColor picker + sliderSemi-transparent overlay over background image
Content paddingSliderInner padding around content
Min heightPreset or custom pixel valueOptional minimum height
Border radiusSlider (pixels)Rounded corners
Alignment (X / Y)Left/Center/Right, Top/Center/BottomContent alignment inside the container
Text colorColor picker or hex valueEnsures text readability on dark backgrounds

Usage Notes

  • Content inside the Background macro is fully editable - insert any Confluence content or other macros inside it
  • Images can be uploaded directly as Confluence attachments from the macro config panel - no external hosting required
  • Use the overlay feature to add a dark or colored semi-transparent layer over background images for better text contrast

Common Patterns

Section separator: Use alternating white and light-gray Background macros to visually separate major page sections without borders.

Announcement zone: Blue background macro at the top of a space home page for team announcements.

Warning zone: Light-yellow background wrapping a critical process step that requires extra attention.