How to Create a Custom Theme

Post Affiliate Pro offers a variety of default themes for the affiliate and merchant panels, as well as the mini-site. Each account is provided access to these themes and their files for customization, allowing you to adjust colors, content, and various elements. You can also use Smarty statements or even add JavaScript in some cases.

Please note that customizing a theme may require a basic knowledge of HTML and CSS, or you can alternatively use AI to adjust, for example, the texts.

To customize a theme, you must first create a copy of the default theme you wish to use as a template, as default themes cannot be modified directly. In your merchant panel, navigate to Configuration > Design, and, depending on the content you want to edit, select:

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

To create a copy, click the "Edit theme" button on the selected default theme. It is recommended to give your new theme a clear and descriptive name for easier recognition.

When a new theme is created, the theme editor window will open, allowing you to modify elements and texts as needed. Refer to this article to learn how to identify the correct file to edit. You can also find the most commonly customized files in this article. Remember to save each template file after editing.

To view your panel theme customizations live, switch your merchant/affiliate panel theme in the Theme settings section.
For the mini-site, you must set your customized theme as active. Since a theme cannot be previewed, once set as active, all visitors will see the changes.

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

When changing the merchant or affiliate panel theme, it is considered best practice to apply your customized theme to all existing users.

×