Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Background image possible?


PVK

Recommended Posts

Posted

Does anybody know how to add a background image to the product info box only?

 

I have searched the contributions, but couldn't find one [perhaps i overlooked]

 

Thanks

Posted

You just need to add standard HTML to /catalog/product_info.php

 

Open a product_info page in IE, Netscape, etc. --> View Source --> paste source in your HTML editor --> find the right place to add it --> apply changes to your live site

Posted

Thanks i tried it a couple of times, but couldn't get it to work.

I have found it,

I now have the link to the image hardcoded with the full url, that did the job :D

Posted
Thanks i tried it a couple of times, but couldn't get it to work.

I have found it,

I now have the link to the image hardcoded with the full url, that did the job :D

To get rid of the pull url use:

 

<?php tep_image(DIR_WS_IMAGES . 'image.gif', $alt, $width, $height); ?>

 

in place of your background="image.gif" (or whatever it says) You can omit the last 3 variables if you don't need them. :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...