If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Changing font size of "Credit Card" radio button label during checkout

Changing font size of "Credit Card" radio button label during checkout

Started by pickman on 13 Apr 2013, 8:20 PM · Views: 2,409

Results 1 to 9 of 9
13 Apr 2013, 8:20 PM
#1
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #1 by pickman

Ok so this sounds like a simple issue, but I have not been able to solve it. I am using v1.51, Premium9a template and "fast and easy" checkout mod.

I have paypal pro and paypal express enabled, and during the checkout process you choose with a radio button whether to pay with a credit card on the site, or pay via paypal. The label "Credit Card" next to the radio button is very small, I want to change the font size and make it bold, but I have been unable to do so, I can't find the text "Credit Card" in any language files. The label has an ID in the source code of "pmt-paypaldp" so I added this to my css, to no effect:

#pmt-paypaldp{
	font-weight: bold;
}

What am I missing here?

Thank you if you can help!

13 Apr 2013, 9:00 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

I can't find the text "Credit Card" in any language files

/includes/languages/english/modules/payment/paypalwpp.php

Zen-Venom Get Bitten

13 Apr 2013, 9:07 PM
#3
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #3 by pickman

I tried that a while ago, two of the variables in that file are "Credit Card" I put strong tags in there, and it doesnt seem to make any difference, so I assume they are variables used somewhere else.

13 Apr 2013, 9:10 PM
#4
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #4 by pickman

Ive just now changed "Credit Card" to "Test" and it still appears as Credit Card on the website, even with my browser cache cleared.

13 Apr 2013, 9:30 PM
#6
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #6 by pickman

Go to : http://www.reborncarbs.com/ and add any product to the basket, click the grey checkout button on the basket page, not the paypal express button, then the continue button for checkout without an account, make up a name address and email and then continue. You will see what I mean.

14 Apr 2013, 2:43 AM
#7
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Post #7 by bislewl

Have you tried adding something like this to your style sheet?

fieldset#checkoutPayment.checkout label.radioButtonLabel{
font-weight:bold;
}
14 Apr 2013, 7:49 AM
#8
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #8 by pickman

Ive added that code to my stylesheet, no success. Thank you for your help so far.

14 Apr 2013, 7:56 AM
#9
pickman avatar

pickman

New Zenner

Join Date:
Oct 2012
Posts:
28
Plugin Contributions:
0

Post #9 by pickman

Found it. In /includes/templates/premium9a/css/stylesheet.css, approx line 140:

LABEL.checkboxLabel, LABEL.radioButtonLabel {
	font-size: 0.95em;
	margin: 0.2em 0.5em;
	}

I changed font-size to 1.2em and added font-weight: bold; as an extra line and it changes the appearance on the checkout page. If other people are reading this hoping to solve the same problem, note that this css file will only exist if you are using the same template as me.