View Full Version : Background image for checkout and basket pages
gnomepark
06-29-06, 06:47 AM
This may be a stupid question, but how and where do you add background images to the checkout and basket pages?
Thanks Mike
Brandon MUS
06-29-06, 09:51 PM
you can use CSS and just put a style tag in the head of the two pages you want a background image.
ie:
<style>
body {
background-image: url(XXX);
}
</style>
Vic - WolfPaw Computers
06-29-06, 09:55 PM
And if using OpenUI, you could take that a step further so it only showed up on certain screens or through the whole checkout process.
%OUI%
%begin_screen|BASK%
<style>
body {
background-image: url(XXX);
}
</style>
%end_screen|BASK%
Or,
%begin_secure%
<style>
body {
background-image: url(XXX);
}
</style>
%end_secure%
This would show that background only on the secure pages.
Bruce - PhosphorMedia
06-29-06, 10:06 PM
OR....
%OUI%
<Style>
body { background-image:url(%VAR(g.Screen)%_body_back.gif) }
</style>
and name the backgrounds 'BASK_body_back.gif' and 'INVC_body_back.gif' etc
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.