Simple Machines Community Forum

General Community => Scripting Help => Topic started by: fecu2008 on March 04, 2008, 11:23:42 AM

Title: Changing the color
Post by: fecu2008 on March 04, 2008, 11:23:42 AM
I installed the paypal mod and its working great.  Anyone else use this? 

My question is, I want to change the color of the button.  I know that its in here, but when I go to add it, i get errors. 

// Paypal Mod
   if (($modSettings['payPalEnable']) && (allowedTo('payPal_view')))
      echo ($current_action == 'paypal' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'paypal' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=paypal">' , $txt['payPal'] , '</a>
            </td>' , $current_action == 'paypal' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Should I use html code for color or can I just type in like "red?"

Title: Re: Changing the color
Post by: capabmx on March 04, 2008, 11:32:04 AM
Try the style.css, page and if that doesn't work I am pretty sure the buttons are images, so you might try downloading the images, and then changing their colors with paint, or whatevever image editing program you use. Then reupload, with the same name as the original image. Look in themes/default/images.