WordPress Affiliate Platform

Take control of your affiliates and drive more sales

  • Documentation
  • Affiliate Platform Plugin
  • Projects
  • Home

How to Customize the Appearance of the Affiliate View Using CSS

This document outlines some tips on how to change the look and feel of the WP affiliate platform affiliate view by tweaking some CSS. 

When you install the plugin, it should have created one of the on-page affiliate area using a shortcode approach. The different options for it areĀ  explained on this page. So you can try them to see if one options work better than the other (given the theme you are using).

Inserting CSS Code Tweaks to Your site

You can add CSS tweaks to your site via the following interface of your admin dashboard:

Appearance -> Customize -> Additional CSS

Example CSS Tweaks

The following section has some example CSS code tweaks.

You can also read this tutorial to learn how you can inspect CSS code and add tweaks.

a) Changing the Background:

There are 2 ways you can change the background of the affiliate view:

  • By changing the image
  • By taking the image out and using a background color only

Option 1: To change the background image first you will need to find the following bit of code in the “style.css” file.

body {
background:url(images/bg4.jpg) top repeat-x;
height: 100%;
color: #555;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
}

The “background:url(images/bg4.jpg) top repeat-x;” is the line we will need to edit. The CSS gets the image for the background from the images folder “wp-affiliate-platform/affiliates/images” of the plugin.

You need to upload the new background image to this directory. The easiest way to change this image is to name the new image the same as the existing one (bg4.jpg) and replace it, this way you do not need to change the CSS code. You may want to change the “repeat” depending on your image. The above example “top repeat-x;” will repeat the image from the top and along the x axis (horizontally).
Other repeat options:

  • y axis (vertically)
  • no-repeat
  • top-right or left
  • bottom-right or left

Option 2: To use just a background color you need to make a small change to the code. See the example below.

body {
Background: #000;
height: 100%;
color: #555;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
}

In the above example I have set the background color to black.

Color Codes: You can use the following color codes to change colors in CSS:

  • Color name (e.g. red)
  • Hex value (e.g. #CECECE)
  • RGB value (e.g. 255.0.0)

b) Changing the Header

To change the header you need to edit the following CSS code.

#header h1 {
padding: 34px 0px 0px 0px;
color: #FFF;
font-size: 40px;
font-family: Times New Roman, Georgia, Arial;
font-weight: normal;
}

  • color: changes the color of the text in the header “the name that appears at the top of the affiliate view”. Refer to the color codes section for more information on what color codes can be used with CSS.
  • font-size: allows you to change the size of the font.
  • Font-family is the type of font. Note: The fonts used in this code are cross browser friendly, some browsers can not render all fonts.
  • font-weight: changes the style of the font. You can make this normal, thick or thicker.

c) Changing the Body Font Color

To change the font color of the body “main font color” you will need to change the color in the following bit of code:

body {
Background: #000;
height: 100%;
color: #555;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
}

The property you will need to modify is the “color: #555”. Refer to the color codes section for more information on what color codes can be used with CSS.

This guide has covered some basic changes that you can make to the affiliate view to give it a little personal touch. If you would like to learn more about some basic CSS then please see the Basic Guide to CSS article.

Filed Under: Design Tagged With: Design, Usage

Comments

  1. Ivy says:

    @Michal, You can translate the plugin into whatever you need to. The following forum post will explain more about this.

    http://www.tipsandtricks-hq.com/forum/topic/plugin-language-translation

  2. Michal Pomykala says:

    Hey, I’ve been using this plugin for a while and absolutely love it!
    Was wondering if it was possible to add Polish language in a future?

    Thanks,
    Michal

  3. Georges Depriester says:

    This is an excelent plugin, and the french version is very good. I love it.
    Thanks for your hard work

  4. kenduret says:

    That would be really helpful if the form was removed when the option is checked. Maybe even better if the ‘sign up’ link was removed from the index page as well.

  5. admin says:

    I can make it so if the “Disable Affiliate Signup” option is checked then it doesn’t show the form either. Will that help?

  6. Carl Ashwin says:

    Great plugin but the option to disable Affiliate signup does not disable the functionality to complete the form. You don’t find out you can’t register until you get to the bottom of the registration page, after the user has completed the form which is potentially frustrating for the user.

    I’d like to remove the option of Affiliate Sign Up all together. Anybody help on how I can do this?

    With thanks
    Carl.

  7. Ivy says:

    Hi Jay, Thank you for sharing this with us. We enjoy seeing how people are using our plugins and customizing them to fit their needs. This will also help anyone that is trying to do this type of front end customization. =)

  8. Jay Versluis says:

    I’ve just amended the front end using these instructions – however my client wanted a bit more, so I’ve jotted down my findings here:

    http://wpguru.co.uk/2010/08/how-to-style-wp-affiliate-platform/

  9. Ivy says:

    Hi, I had a look at Vooshthemes. It looks like the have customized the CSS of the Affiliate plugin. The following article will explain more about how to do this.

    http://www.tipsandtricks-hq.com/wordpress-affiliate/how-to-customize-the-appearance-of-the-affiliate-view-using-css-249

  10. Tyler C says:

    First of all, amazing plugin!

    I had a question regarding further customization. Do you have any idea how the people at Voosh Themes customized their registration page to integrate inside their theme like this: http://www.vooshthemes.com/wp-content/plugins/wp-affiliate-platform/affiliates/register.php

    I wasn’t sure if there was something simple inside the settings that does this or if it involves some trickery within the php files themselves. Thanks.

  11. admin says:

    If you go to the settings menu of the plugin you will be able to enter the title in the “Index Page Title” field. Whatever you enter there will be displayed in the header.

  12. Jason Davis says:

    How do I change the “WP Affiliate Platform” header title to read “2Leads Affiliate Platform”. I’ve dug in the code but cannot find it, is it a hidden template, running under some jscript, or….? Can I get some help Please.

    Jason

Leave a Reply

Your email address will not be published. Required fields are marked *

affiliate plugin infographic

Search

Recent Comments

  • admin on WP Affiliate Platform Frequently Asked Questions (FAQ)
  • Alex on WP Affiliate Platform Frequently Asked Questions (FAQ)
  • admin on WordPress Affiliate Platform Features
  • Ken Hammond on WordPress Affiliate Platform Features
  • admin on WooCommerce and WP Affiliate Software Plugin Integration

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | WP Affiliate Plugin