Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Redirect
filename
locationhttps://docs.meta-inf.hu/content-exporter/user-guides/before-export/custom-stylesheets/watermark

You can insert an image as a watermark with this css code:

Code Block
languagecss
@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;
}
Info

Things you have to take care of:

  • Currently we don't 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

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10436
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "stylesheets" and type = "page" and space = "CEX"
labelskb-how-to-article