Content Exporter
📈 Marketplace❓ Support❤️ Feedback🏠 META-INF Apps
  • General Product Information
    • 🤓Overview
    • 🏗️Installing Content Exporter
      • Installation Notes
      • Cloud Platform security
  • User Guides
    • 👷‍♂️Before exporting
      • General settings
      • Remote API (Cloud only)
      • Export profiles
        • General formatting
        • Custom Stylesheets (CSS)
        • Cover pages
        • Page size and the margins
        • Headers & Footers
        • Table of Contents
          • Generating a Table of Contents
          • Formatting Table of Contents
          • Examples for customized Table of Contents
      • Custom stylesheets
        • Stylesheet administration
        • Exporting specific CSS classes
        • Custom Stylesheet Examples
        • Adding a watermark
      • Macros
      • PDF Custom fonts
      • Embedded links with page number
    • 👨‍🏫During export
      • Exporting Confluence pages
      • Customizing the profile
  • Additional Information
    • ▶️Release notes
    • ❓Frequently Asked Questions
    • 3️⃣Supported 3rd party apps
  • Dependency license guide
Powered by GitBook
On this page

Was this helpful?

  1. User Guides
  2. Before exporting
  3. Custom stylesheets

Adding a watermark

Aan image can be inserted to a custom stylesheet as a watermark with the following CSS code:

@page {
  background-image: url("https://www.meta-inf.hu/download/attachments/36405251/header_background_main.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 4cm;
}
body{
  background-color: transparent;
}

Important:

  • We do not download the images in CSS for processing, so you have to use absolute URL to be reachable during conversion.

  • The converter has no authorization information, so the resource must be accessible anonymously.

  • The body has a white background, so it must be removed.

PreviousCustom Stylesheet ExamplesNextMacros

Last updated 1 year ago

Was this helpful?

👷‍♂️
Page cover image