PDA

View Full Version : Different backgrounds on different pages


NickD
31-Jan-2003, 04:42 AM
Hi

Anyone know how to use different background images on different pages? I look in the advanced user guide (December '02 version obtained from Actinic by mail - the one on the downloads page is August '02) and there is some stuff in there about different background colours, but not images.

I looked in Act_Primary.html and found

<BODY NETQUOTEVAR:BGIMAGE...

.
.
.
</BODY>

and within the BODY part I replaced this with



BACKGROUND="../images/newbackgroundimagefilename.jpg"

(all the images are in /images)

but this made no difference.

Any ideas?

Nick

Landgreen
31-Jan-2003, 07:32 AM
hi nick.

you would have to create different primary templates.

take a look at page 18 in the advanced user guide - explais it perfectly :)

cheers
rasmus landgreen, dk

cdicken
31-Jan-2003, 04:02 PM
It is the same principle as with images -

You replace
background-image:url(NETQUOTEVAR:BGIMAGECSS);

with something like
background-image:url(background2.gif);

Also, if you cannot get it to appear, remove 'NETQUOTEVAR:BGIMAGE' from the <BODY> tag of the overall layout template that is referencing your new style-sheet.

Also, you may need to manually copy your background image into the 'PreviewHTML' folder in order to see it with a preview.