Creating own theme

Post Affiliate Pro contains various default themes for the affiliate and merchant panel & the mini-site. Each account is provided with access to the themes and their files for customization, allowing you to tweak colors, content, various elements, use smarty statements, and even add javascript in some cases.

Please note that customizing the theme might require basic knowledge of HTML and CSS code, or alternatively use AI to adjust e.g. the texts for you.

To customize a theme, you need to have a copy of the default theme you wish to use as a template, as default themes cannot be changed. Navigate in your merchant panel to Configuration > Design, and depending on the content you want to modify, navigate to:

  • Mini-site theme tab for mini-site edits
  • Affiliate panel theme tab for affiliate panel edits
  • Merchant panel theme tab for merchant panel edits

To create a copy, click the "Edit theme" button in the chosen default theme. It is recommended to properly name your new theme for easier recognition.

When a new theme is created, the theme editor window will open, allowing you to start modifying the elements and texts as needed. Refer to this article to understand how to identify the name of the file you want to edit and also find the most commonly customized files in this article. Don't forget to save each template file after editing.

To see your panel theme customizations live, you can switch your merchant/affiliate panel theme in the Theme settings section.
For the mini-site, you must set your customized theme as active. As a theme cannot be previewed, upon setting it as active all visitors would see the changes.

Once you're done with your modifications, you can set your new theme as the default theme for the merchant/affiliate panel or as the active theme of your mini-site by clicking the Set as default/Select This Theme button.

When changing the merchant or affiliate panel theme, it is a good practice to apply your customized theme also for all existing users.

×