Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    Default How do i put an image on the header?

    I have been trying all day to put an image on the header of my site without success. here is a screen shot http://www.toyjoyshop.co.uk/Image-location.jpg.
    i am using the lavender template.
    Can somebody please explain in laymans terms how this can be done.

    Thanking you in advance

  2. #2
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    Default Is there nobody that can help me here

    Quote Originally Posted by Graphicman View Post
    I have been trying all day to put an image on the header of my site without success. here is a screen shot http://www.toyjoyshop.co.uk/Image-location.jpg.
    i am using the lavender template.
    Can somebody please explain in laymans terms how this can be done.

    Thanking you in advance
    I'm still struggling with - please anybody

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How do i put an image on the header?

    Post a url to this site so we can view what and where you are
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    help question Re: How do i put an image on the header?

    Hi Kobra,
    thanks for replyng, the site is www.toyjoyshop.co.uk. It is an adult toy site with just images of products nothing at all offensive. I've been trying for days now to put a free P&P image in the header, i see 100's of sites that have done this and didn't realise it would be so hard to do.

    Thanks

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How do i put an image on the header?

    I see that you have a logo image but what is a P&P image??

    Post the image dimensions and a decsription of what it is and where you want it
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    help question Re: How do i put an image on the header?

    Quote Originally Posted by kobra View Post
    I see that you have a logo image but what is a P&P image??

    Post the image dimensions and a decsription of what it is and where you want it
    Sorry Kobra i should be more specific. I have attatched the image i want to place on the right hand side of the header, it is in addition to the logo on the left.

    thanks
    Attached Images Attached Images  

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How do i put an image on the header?

    Kobra, the bottom line is he wants to add a second image to the header. He could add it to the background image, but it seems a second image shouldn't be that hard to do. I couldn't see how to accomplish it.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: How do i put an image on the header?

    why not use the image as a background for the tagline div? may have to do some editing in the header file.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    help question Re: How do i put an image on the header?

    Thanks for the replies guys, i didn't realise it was such a big job i thought it would just be a bit of code with a link to the image. I never had a clue how to do it and now i Know why. Has anyone any idea please.

    Thanks

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How do i put an image on the header?

    While there are many ways to do this the following is one:
    Edit a copy of your tpl_header.php file for your template and add the following div
    Code:
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    
    <div id="headerWrapper">
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
            <div id="logo2"><img src="url(../images/your_image.xxx" width="??" height="??")"></div>
            
        <div id="taglineWrapper">
    <?php
                  if (HEADER_SALES_TEXT != '') {
    ?>
          <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    and to your stylesheet.css for your template add
    Code:
    #logo2 {
            float: right;
            }
    This is the minium and if alignment is not correct the easiest is to match image heights of your logo.gif and the additional image in your graphics program.
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139e How do I put my store logo graphic in the header?
    By jimweinberg in forum General Questions
    Replies: 7
    Last Post: 28 Jul 2012, 01:47 PM
  2. How To Put A Link On My Logo Image In Header?
    By chrismonroe in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Nov 2007, 02:44 PM
  3. how do I put a background image in the header?
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Mar 2007, 10:16 AM
  4. HELP!! How to put in my logo as the header?
    By dwarfs8 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Oct 2006, 04:42 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