Forums / General Questions / Change size and colour of text

Change size and colour of text

Locked

Views: 1,231

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
24 May 2010, 11:04 PM
#1
amyleew avatar

amyleew

Zen Follower

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

Change size and colour of text

Hi

I have a lot of people go through checkout but then think they are finished before they click 'Confirm Order'.

I would like to make the text at the top of my order confirmation page larger and a different colour.

Is someone able to help me with the code below and show me what I have to put in it to make the words 'PLEASE REVIEW AND CONFIRM YOUR ORDER' bigger and a different colour?

Thanks

Amy

<?php
define('ORDER_STEPS_IMAGE', 'arrow_checkout.gif');
define('ORDER_STEPS_IMAGE_HEIGHT', '24');
define('ORDER_STEPS_IMAGE_WIDTH', '24');
define('ORDER_STEPS_IMAGE_ALT', 'Checkout Arrow');

define('TEXT_ORDER_STEPS_1', 'Shipping Method');
define('TEXT_ORDER_STEPS_2', 'Payment Method');
define('TEXT_ORDER_STEPS_3', 'Review Order');
define('TEXT_ORDER_STEPS_4', 'Order Complete');

define('ORDER_REVIEW', '<h4 class="confirm">PLEASE REVIEW & CONFIRM YOUR ORDER</h4>');

24 May 2010, 11:07 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Change size and colour of text

amyleew:

Hi

I have a lot of people go through checkout but then think they are finished before they click 'Confirm Order'.

I would like to make the text at the top of my order confirmation page larger and a different colour.

Is someone able to help me with the code below and show me what I have to put in it to make the words 'PLEASE REVIEW AND CONFIRM YOUR ORDER' bigger and a different colour?

Thanks

Amy

<?php
define('ORDER_STEPS_IMAGE', 'arrow_checkout.gif');
define('ORDER_STEPS_IMAGE_HEIGHT', '24');
define('ORDER_STEPS_IMAGE_WIDTH', '24');
define('ORDER_STEPS_IMAGE_ALT', 'Checkout Arrow');

define('TEXT_ORDER_STEPS_1', 'Shipping Method');
define('TEXT_ORDER_STEPS_2', 'Payment Method');
define('TEXT_ORDER_STEPS_3', 'Review Order');
define('TEXT_ORDER_STEPS_4', 'Order Complete');

define('ORDER_REVIEW', '<h4 class="confirm">PLEASE REVIEW & CONFIRM YOUR ORDER</h4>');

Just edit the stylesheet.css

Find H4 and you will see this:
h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger

delete h4, from above and add this below

h4 {font-color: red;font-size: 1.6em;}

the stylesheet.css will look like this now:

h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
font-size: 1.1em;
}

h4 {color: #FF0000;
font-size: 1.6em;
}

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

24 May 2010, 11:09 PM
#3
amyleew avatar

amyleew

Zen Follower

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

Re: Change size and colour of text

Will that change it for text on any other pages? I only want to change that one line.

24 May 2010, 11:13 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Change size and colour of text

Yes, if it using the h4

Try this:
define('ORDER_REVIEW', '<h4 class="confirm">PLEASE REVIEW & CONFIRM YOUR ORDER</h4>');

Change the h4 to h7, then edit the stylesheet to match

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.