Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    help question how to add an image *between* header text and above content??

    This question is *not*about header image, since it's a single image to be placed in the header which will later be replaced with an image slider...

    I want to place images on http://www.bristolbayflies.com below 'Alaskan Flies...' and above 'What's New'
    I do not want the header text superimposed upon the image.

    In other words:
    Bristol Bay Flies
    Alaskan Flies...

    IMAGE by itself

    MAIN CONTENT CONTAINER /wrapper WITH WHAT'S NEW ETC.

    For now an absolute link will do, e.g. http://www.bristolbayflies.com/images/foo.jpg

    I need php code that will cause the browser to display the image...
    I tried echo 'http://...' in tpl_header.php but that writes out the text per se, I need the browser to render the image.

    Thank you, Tom

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: how to add an image *between* header text and above content??

    Quote Originally Posted by tlyczko View Post
    This question is *not*about header image, since it's a single image to be placed in the header which will later be replaced with an image slider...

    I want to place images on http://www.bristolbayflies.com below 'Alaskan Flies...' and above 'What's New'
    I do not want the header text superimposed upon the image.

    In other words:
    Bristol Bay Flies
    Alaskan Flies...

    IMAGE by itself

    MAIN CONTENT CONTAINER /wrapper WITH WHAT'S NEW ETC.

    For now an absolute link will do, e.g. http://www.bristolbayflies.com/images/foo.jpg

    I need php code that will cause the browser to display the image...
    I tried echo 'http://...' in tpl_header.php but that writes out the text per se, I need the browser to render the image.

    Thank you, Tom
    You seem to have "hacked out" the header image element from tpl_header.php and as we can't see what you've done we can't comment on that aspect.

    But you could try to add the image into the tagline define in /includes/languages/english/YOUR-TEMPLATE/header.php

    Code:
    define('HEADER_SALES_TEXT', '<a href="http://bristolbayflies.com/index.php?main_page=index" alt="Bristol Bay Flies 2013 Retail Catalog" title="Bristol Bay Flies 2013 Retail Catalog"><h1>Bristol Bay Flies 2013 Retail Catalog</h1><br /><img src="http://PATH-TO-YOUR-IMAGE" />< /br><h2>Alaskan Flies Are Our Specialty</h2></a>');
    You may or may not need the </ br> tags.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    Default Re: how to add an image *between* header text and above content??

    NEVER MIND!!
    Brain hiccup. :)
    I forgot to use img src etc.
    Once I did this things worked properly.
    Thank you, Tom

 

 

Similar Threads

  1. Double Main Content above header and navigation
    By urgentprog in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Jun 2014, 10:00 PM
  2. How to get text or search box above header image?
    By NOJoke in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Jul 2011, 08:18 PM
  3. ugly space between header and content
    By darth_oettinger in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jul 2009, 05:37 PM
  4. removing the space between sidebox header image and content
    By davowave in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Mar 2009, 12:19 AM
  5. how do u add content box above greeting
    By MB1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Aug 2008, 04:31 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR