PG Simple Affiliate Shop
[resolved] Buy Now Button Color? (2 posts)

  1. Res
    Posted 2 years ago #

    I LOVE this plugin! But the orange buttons clash with my color scheme. Which file do I edit and where to customize the color to match my site? Thank you!


  2. PeoplesGeek
    Plugin Author

    Posted 2 years ago #

    Hi Res,

    I'm so pleased to here you are enjoying the plugin.

    The color is controlled by CSS. The file you will need to edit is in your plugin directory ...\pg-simple-affiliate-shop\css\pg-sas.css

    In here you will see the elements for .orange which are the ones you want to change to include your colors. You may need to change other elements in here depending on your color scheme.

    I'm working on a new release that will offer a couple of color choices and remove the hard coding on the #shop-product-container h2.pg-sas-title as well.

    I'd suggest when you make your changes that you put the new pg-sas.css file into your theme directory as this will be safe from being lost when the next version of the plugin comes out. (or at least keep a copy of your work safe somewhere)

    If you would like to send me your CSS changes (and I like the color) then I can add it as an optional color and save you some time later when the upgrade comes out.

    The buttons are inspired by http://webdesignerwall.com/tutorials/css3-gradient-buttons
    I suggest you have a look there as these are the standard buttons I'm likely to include and the examples are great if you want to understand buttons and CSS.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PG Simple Affiliate Shop
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic