Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image on Store Home Page


Guest

Recommended Posts

Posted

Hi everyone,

 

I need to insert an image on the index page of a store. I know I have seen topics covering this but just because I need it, I can't seem to find it.

 

I created a basic table:

 

<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td><img src="http://www.thehotfish.com/catalog/images/120H_promo.jpg"></td><td> </td></tr><tr colspan="2"><td class="main"><a href="http://www.thehotfish.com/catalog/product_info.php?cPath=135_22_32&products_id=1189">Click Here for More Information</a></td></tr></table>

 

to insert the image and a link to the product page but I can't seem to place it where it will show on the index page.

 

The store URL is www.thehotfish.com/catalog if you want to see the page.

 

 

Hopefully, someone will know this off the top of their head.

 

 

Thank you in advance

 

 

Chris

Posted

A background image for your website can be 'installed' by manipulating your stylesheet.

 

Catalog > stylesheet.css

 

Look for this tag near the top:

 

BODY {
 background-image : url(images/white.gif); 
 color: #000000;
 margin: 0px;
}

 

Yours may read differently than mine. Just look for that BODY tag and insert the image (from your catalog>images folder) in place of mine, using the syntax I have.

 

Andrea

Posted

My bad. I read your post again. That does happen. LOL.

 

Just go to catalog>includes>languages>english>index.php and hard-code the URL you want to display your image as a link to whatever product you wish them to see. You can play with everything between the tags of define('TEXT_MAIN', ' and the closing tags of ');

 

Andrea

Archived

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

×
×
  • Create New...