Results 1 to 8 of 8
  1. #1
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Adding extra images to the header (like flags & logos)

    hello people!

    i have been trying to add 3 flags to the header of my site.
    im using .3.8

    www.realpurecotton.com

    im confused as there are many conflicting answers.

    basically i want three tiny icon like images under my search bar - needs to be on top of my header backround colour!- of uk european & u.s flags.

    I DO NOT NEED A LINK ADDED TO THEM JUST SIMPLE IMAGES ON TOP OF MY HEADER BACKGROUND IMAGE. - as im sure the colour i have is the header image i think!

    i thank you for your time and effort and look forward to hearing from you very soon

    Aymen

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding extra images to the header (like flags & logos)

    In a copy of tpl_header.php add a div and the img src= statements inside that div

    Place it in the proper order in the file - - probably within the headerwrapper div
    Save te changes and upload the edited file to your template folder structure
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Adding extra images to the header (like flags & logos)

    hey Koby! thanx

    ok does it matter where the div is added (above or below the present one)

    and is the "wrapper" part of THIS div, or in the other header php.

    thanks mate, i just about understood you lol!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding extra images to the header (like flags & logos)

    ok does it matter where the div is added (above or below the present one)
    Yes it does - one must add it in the order that it is to be displayed

    and is the "wrapper" part of THIS div, or in the other header php.
    What other header.php???

    I stated a copy of tpl_header.php
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Adding extra images to the header (like flags & logos)

    sorry mate i was confused by another person.

    ok i opened my tpl_header.php

    and searched for the place to add the div.
    bearing in mind i want it above the header image/background colour

    i found this area in the php file:

    <!--eof-header logo and navigation display-->
    which is empty! do i add the div in here????

    im confused because someone else said -

    <div id="headerpic">
    <div id="slogan">
    <h1>Real Pure Cotton</h1>
    <h2>"The AYMEN Company" Specialists in 100% Pure Luxury Cotton</h2>
    </div><!-- slogan -->

    ******(NEW DIV)**************

    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul>

    This is my slogan/tagline in the area called- div id 'headercontent'
    which is where i was told to add the div. at college !! lol

    thanks kob`s

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding extra images to the header (like flags & logos)

    This is my slogan/tagline in the area called- div id 'headercontent'
    ZenCart already has a place for a slogan

    https://www.zen-cart.com/tutorials/i...hp?article=127
    Zen-Venom Get Bitten

  7. #7
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Adding extra images to the header (like flags & logos)

    Kobra thanks mate but your being very vague when you comunicate.

    basically
    how much of this div do i add and WHERE in my tpl_header

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

    as i have no indication where it goes.

    thanks b!

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding extra images to the header (like flags & logos)

    how much of this div do i add and WHERE in my tpl_header
    As you stated that what you want is your "slogan"

    I stated that this is already builtin and posted the tutorial

    So basically, you do not need to add a new div
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v154 Multi Site & CEON - need to change the links generated by the language flags
    By Xarum in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 May 2016, 11:00 PM
  2. v139h Adding extra field control ( like CAPTCHA ) is not validated.
    By Angioni in forum Addon Shipping Modules
    Replies: 1
    Last Post: 12 Mar 2012, 05:00 PM
  3. Adding a 3rd image to Header logos
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Sep 2010, 06:46 PM
  4. would like to move login & search box into the BG area (header)
    By jswiss in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Aug 2007, 09:18 AM
  5. Adding Left & Right Edges Like the New ZC Look
    By Stenrique in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Oct 2006, 02:47 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