Results 1 to 5 of 5
  1. #1

    Default 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;
    www.dreamxrugs.com - suprised2.jpg
    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.

  2. #2
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Main Page Promo Area

    Try this:
    HTML Code:
     <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.

  3. #3

    Default Re: Main Page Promo Area

    Simple enough.

    Works great.

    Thanks!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default 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.

    Code:
    <img hspace="0" src="./images/yourimage.jpg" align="middle" border="0" />
    Currently using ZEN CART v. 1.3.6

 

 

Similar Threads

  1. News area in Main Page
    By Makover in forum General Questions
    Replies: 4
    Last Post: 17 Aug 2008, 01:05 AM
  2. Categories showing in content area of main page
    By DocRocks in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jan 2008, 09:58 PM
  3. Buttons in the main page area
    By ellis200200 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jul 2006, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg