Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Main Page Promo Area

Main Page Promo Area

Locked

Views: 2,306

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 May 2006, 5:56 PM
#1
Join Date:
Apr 2006
Posts:
41
Plugin Contributions:
0

Main Page Promo Area

Hi everyone,
I just got rid of the default text in "define_main_page.php" and want to place a "center_promo.jpg" image. I tried a simple "img src="center_promo.jpg" but that didn't work. Any thoughts? Everyone seems to be able to do this.
Take a look at the following examples;
https://www.dreamxrugs.com - suprised2.jpg
https://www.finestleaf.com - teacup.gif
store.neoheat.com - mainpagesplash.gif

I initially wanted to use flash but I have failed to find one simple complete tutorial on how to do this.

12 May 2006, 6:09 PM
#2
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Main Page Promo Area

Try this: ```html
<img hspace="0" src="http://www.yourwebsite.com/images/yourimage.jpg" align="middle" border="0" />


replace yourwebsite and yourimage with actual value and you can also change alignment and border.
12 May 2006, 7:18 PM
#3
Join Date:
Apr 2006
Posts:
41
Plugin Contributions:
0

Re: Main Page Promo Area

Simple enough.

Works great.

Thanks!

12 May 2006, 7:28 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Main Page Promo Area

Note: you may wish to modify that URL ... absolute links are not recommended anywhere and should be relative links to manage secure/non-secure pages ...

15 May 2006, 2:49 AM
#5
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Main Page Promo Area

Just to clear it up for anyone else, I got the relative path to work with the following line of HTML. Note, I couldn't get it to appear without the . before the first slash.

<img hspace="0" src="./images/yourimage.jpg" align="middle" border="0" />