Advertisement:

Changing the color

Aloittaja fecu2008, maaliskuu 04, 2008, 11:23:42 AP

« edellinen - seuraava »

fecu2008

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?"


capabmx

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.
Always looking to take on a web design/ programming job :], PM me if interested.

Advertisement: