Forums / Templates, Stylesheets, Page Layout / How to change font of PayPal text at Checkout?

How to change font of PayPal text at Checkout?

Locked

Views: 3,905

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Jul 2010, 9:36 PM
#1
custombooks avatar

custombooks

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

How to change font of PayPal text at Checkout?

How do I change the font size & style of:
"Checkout with PayPal. The safer, easier way to pay."
on the payment page?

I know the text is in:
/includes/languages/english/modules/payment/MY_TEMPLATE/paypalwpp.php
but what controls the font size & style?

Developer's Toolkit indicates
/includes/modules/payment/paypalwpp.php
Line #236 : 'module' => '<img src="' . MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT . '" /><span style="font-size:11px; font-family: Arial, Verdana;"> ' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_TXT . '</span>');

but I can't find those lines in my file. Is there some kind of new linked file controlling PayPal in ZenCart 1.39d?

10 Jul 2010, 12:18 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How to change font of PayPal text at Checkout?

CustomBooks:

Developer's Toolkit indicates
/includes/modules/payment/paypalwpp.php
Line #236 : 'module' => '<img src="' . MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT . '" /><span style="font-size:11px; font-family: Arial, Verdana;"> ' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_TXT . '</span>');

It definitely exists. Are you sure you opened the right file when you checked?

Is there some kind of new linked file controlling PayPal in ZenCart 1.39d?

No - there is not.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Jul 2010, 7:07 PM
#3
custombooks avatar

custombooks

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: How to change font of PayPal text at Checkout?

Weird; I used a different code editor and was finally able to locate line 236 to change the font size - but how do I change the font style?

I would like to UN-bold the ""Checkout with PayPal. The safer, easier way to pay" on the payment page. I must need to edit some other file...

12 Jul 2010, 12:29 PM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How to change font of PayPal text at Checkout?

CustomBooks:

Weird; I used a different code editor and was finally able to locate line 236 to change the font size - but how do I change the font style?

I would like to UN-bold the ""Checkout with PayPal. The safer, easier way to pay" on the payment page. I must need to edit some other file...

You may want to get Firefox (if you don't use it already) and then get the Firebug add-on. With this little gadget you can analyze your stylesheet and find the relevant piece of code that governs the font size / bolding of the words.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.