PDA

View Full Version : How to change the colour of the address box on the invoice


peterB
30-Jun-2003, 10:22 AM
Hi there
I am trying to change the background colour of the address box on the invoice generated by actinic/cgi-bin/os000001.pl.

At present it is black, if I go into Design/colours for the actinic menu there is no reference to black at all.

I have attached a screenshot of the page in question.

Many thanks
Peter

Darren
01-Jul-2003, 02:14 PM
Hi Peter.

Have you tried changing the colours in form emphasis and form background under Design| Colours?

I hope this helps.

peterB
01-Jul-2003, 02:21 PM
Thanks for the reply, the colours in the form emphasis and background are set to the colours I require.

There is no reference to Black at all. BUT... if I look at the page in Opera it is ok,

Darren
01-Jul-2003, 02:28 PM
Hi peter

What is your website address, I will check it on my small suite of browsers!

peterB
01-Jul-2003, 02:36 PM
Ok Darren Thanks..
The site is at http://212.125.70.254/actinic/

The login name is Peter Berry and the pasword is password

Many Thanks
Peter

Darren
01-Jul-2003, 03:04 PM
Hmm, I certainly see the problem.

What happens if you use a default Actinic Primary template for the checkout?

peterB
01-Jul-2003, 03:19 PM
No...I've swapped the template around and it's still black.

A techie from support (Nadeem) has also tried to help me out.
He uploaded the site to another test server and it worked ok, I can try my site on different machines in the office and the address is still black.

Peter

Darren
04-Jul-2003, 01:02 PM
Hello Peter

I have just checked your site and see that the colours are still wrong.

I also work in tech support and have been speaking to Nadeem about this and have discovered that when your site was uploaded to our test server, the colours were correct.

Is this a trading site?

If not, you could try deleting the entire contents of the acatalog folder, (not the folder itslef though) and then trying a web refresh.

peterB
09-Jul-2003, 09:43 AM
Hi Darren
Thanks for the reply, sorry for the delaying getting back as I have been out of the office for a couple of days.
Well, I have created a new folder as you suggested and did a web refresh BUT the problem is still there, the invoice box is still Black and the Welcome message is in a Blue box.

Yet in Opera it still looks fine.

The site is almost ready to go live, but I do need to sort this out before it does.

Peter.

harlequin
09-Jul-2003, 09:54 AM
hi peter, can you go into your site 1 folder and find and upload Actinic.css

this may provide a clue..

steve

peterB
09-Jul-2003, 10:09 AM
Ok Steve I've done that and the fonts have defaulted to Times New Roman, am I missing the point here, not seeing the wood for the trees etc?

I presume now that actinic cannot see my css, but the font colours are still correct.

Peter:mad:

cdicken
09-Jul-2003, 10:18 AM
You may have uploaded the template for the CSS file rather than the one with all the variables substituted for your colour values.

I think Steve was wanting you to upload the css file to the forum - but don't worry about that now as I think I have got a solution for you.

Firstly, repair your CSS file and all your fonts by going to 'actinic.css' in your Site1 folder. Open it in Notepad and make a simple change (like adding a blank line to the bottom of the file) and then save and close the file.

When you next upload in Actinic, it should upload the correct file.

The colour values in your address boxes come from the following lines in Act_Order01.html and Act_Order02.html:

<TABLE WIDTH=CUSTOMVAR:ACTSTDWIDTH BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=%s><TR><TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=%s>

The %s values are the variables that are substituted for colour values.

I would suggest you replace the %s with hard-coded colour values e.g.

<TABLE WIDTH=CUSTOMVAR:ACTSTDWIDTH BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=#ffffff><!-- %s --><TR><TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=#eeeeee><!-- %s -->

The <!-- %s --> tags are important to have in there or else strange things may happen further down the page.

Hope this helps.

harlequin
09-Jul-2003, 10:20 AM
sorry peter, and yes chris i did mean, post the file up here...

steve

glad you sorted it...

peterB
09-Jul-2003, 01:45 PM
Ok..Thanks guys, I've hardcoded the colours and the page looks ok, just one more question, the Welcome page that is displayed after the client logs in. What template creates that, as the welcome message is displayed in a blue table.

peter

cdicken
10-Jul-2003, 08:24 AM
The 'Welcome to...' box that appears to logged in customers on the front page of the store comes from 'Design | Text'. Click 'Go to' and go to prompt 210.

peterB
10-Jul-2003, 08:44 AM
Ohhh.. thanks Chris, thats great.
Peter

wombatboy
11-Jul-2003, 09:00 AM
i think i should say that you have to use the colour code without apostrophies when substituting the %s values for colour values.

ie. <TABLE WIDTH=CUSTOMVAR:ACTSTDWIDTH BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=#FFFFFF><TR><TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=#FFFFFF>

cheers!:D

peterB
11-Jul-2003, 09:05 AM
Ok Matthew thanks
That works ok as well.