Skip to content

CSS Templates

Target Audience: Users, Developers

Introduction

CSS templates is a way to define CSS-code directly in PAP, which can later be fetched and used however you want from our Marketing API.

This feature is by default disabled and will have to be enabled by Adeprimo. If you are interested in this feature, feel free to contact our support.

How to use CSS templates

In order to set up a css template, navigate to PAP -> Marketing -> CSS templates. In here, you will decide on a few things:

  • Name: The name of the template. For internal use only.
  • Default: Decides whether the template should be considered as a default template or not. If no template is configured on a given theme, we will instead search for a default template.
  • Markup: The CSS markup that should be included in the template.

See also

  • Besides CSS templates, HTML templates can also be defined in much the same way in PAP. You can read more about Payway and HTML templates here.
  • Created CSS templates need a theme to work correctly. Read more about Themes here.