• Does anyone know how to change the submit button colors in ContestFriend?

    I would also be grateful to know how to change the “Earn More Entries – Share the lucky link below and earn 3 more entries for every friend who enters with your custom link” text above the FB and Twitter icons.

    Any advice gratefully received.

    • This topic was modified 9 years, 7 months ago by 2020site.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi 2020site,

    Navigate to => wp-content/plugins/contestfriend/templates/default/actions_submit.php in your wordpress directory.

    Open “actions_submit.php” file using Notepad. (I use Notepad++, a free editor)

    Search for the below mentioned entry and Edit the respective sentence according to your needs.

    echo '<div class="social_title">'.__('Earn More Entries!', 'contestfriend').'</div><div class="social_message">'.
    sprintf(_n('Share the lucky link below and earn %d more entry for every friend who enters with your custom link.', 'Share the lucky link below and earn %d more entries for every friend who enters with your custom link.', $contest->cf_referral_entries), $contest->cf_referral_entries).'</div>';
    }

    Do not remove the %d if it is removed the count of entries will not be displayed.

    It is good practice to first take a back-up of the “actions_submit.php” file before you attempt to edit it.

    Let me know if you need further step by step instructions.

    Regards
    Theodore Heston Fernandez

    • This reply was modified 9 years, 7 months ago by hestonfer.

    Hi 2020site,
    To change the submit button colors in ContestFriend, follow the below steps:

    Navigate to => wp-content/plugins/contestfriend/templates/default/widget.css

    (First, take a back-up of the “widget.css” file before you attempt to edit it.)

    Open widget.css in notepad or notepad++

    Go to: “/* actions” and scroll down to search for this value “background: #95d907” This value is for the default green color. Change the hex code #95d907 to suit your preferred color. Save the file.

    This hex code can be found in this css string under “/* actions”

    .cf_submit_div .cf_submit {
    margin: 0;
    border: 1px solid #89c905;
    background: #95d907;
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    #95d907

    If you have any cache plugin installed in your website or you are using cloudflare or similar cdn’s, you need to clear the web cache. If not you will not notice the change immediately.

    For getting your color hex codes, got to http://www.colorzilla.com/

    Regards
    Theodore Heston Fernandez

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘ContestFriend submit button color & referal link text’ is closed to new replies.