Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Banner alignment problem

    Anita:


    (BEFORE YOU START - BACKUP any php files first... !)


    Get your modified LOGO here:
    Code:
    http://www.edutrade.co.uk/images/temp/logo.jpg
    SAVE IT to the following on your server...

    /includes/templates/custom/images/


    You will see it's a JPG image, so you will need to modify the DEFINES for it in:

    includes/languages/english/header.php

    The settings you will need are:

    Code:
    // added defines for header alt and text
    
      define('HEADER_LOGO_WIDTH', '969px');
      define('HEADER_LOGO_HEIGHT', '240px');
      define('HEADER_LOGO_IMAGE', 'logo.jpg');
    Then use this MAP code to create the image map in tpl_header.php as described in other postings.

    Code:
    <div id="headerWrapper">
    <!--bof-branding display-->
        <div align="center"><img src="includes/templates/custom/images/logo.jpg" width="969" height="240" border="0" usemap="#Map">
       <map name="Map">
        <area href="http://anitastergioudesigns.com/shoppe" shape="rect" coords="81, 165, 182, 212">
        <area href="http://anitastergioudesigns.com/studio" shape="rect" coords="320, 165, 422, 212">
        <area href="http://anitastergioudesigns.com/chatter" shape="rect" coords="483, 165, 582, 212">
        <area href="http://anitastergioudesigns.com/blog" shape="rect" coords="688, 165, 787, 212">
        <area href="http://anitastergioudesigns.com/team" shape="rect" coords="852, 165, 950, 212">
       </map>
     </div>
    (Naturally, you must check the hyperlinks - <a href=...> to make sure they point at the pages you want them to...)

    YOU MAY ALSO HAVE TO alter wrapper widths in your stylesheet - I see you've been playing with these and seem to have deleted #logowrapper... In fact, I am sure you will have to adjust the stylesheet for wrapper widths.

    To assist you here... The logo.jpg image (taken off your site, is 969px wide and 240px high)
    20 years a Zencart User

  2. #2
    Join Date
    Mar 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Banner alignment problem

    Thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you!

    I'll try it and let you know how I go.

  3. #3
    Join Date
    Mar 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Banner alignment problem

    Awesome. I got through it all up to the stylesheet.

    Not sure about the #logo wrapper. I've done only the teensiest editing on the stylesheet myself, mostly changing colour codes - although the site was initially installed and set up by someone else.

    I've never touched the #logo wrapper part of it and it seems to match what's in the unedited Zen download?

    Hints please...

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Banner alignment problem

    We will need to try a few things...

    The image is now mapped, but we may have to put back various elements into your current tpl_header.php file.

    Could you post the CODE of this file please? (use the # symbol above to wrap the text in code tags)

  5. #5
    Join Date
    Nov 2008
    Location
    portugal
    Posts
    1
    Plugin Contributions
    0

    Default Re: Banner alignment problem

    I am having a similar problem, site is www. uk brands abroad.com
    The banner which sits on top of the site looks fine in mozilla but not in chrome, safari or internet explorer.

    what can I do I am relatively new at all this so please just give it to me in basic terms.

    thanks

 

 

Similar Threads

  1. Alignment of Banner Header position 2
    By ttfan in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Feb 2011, 09:59 AM
  2. banner 2 alignment
    By gg1965 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Feb 2011, 08:51 AM
  3. Banner Alignment
    By djd5059 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jul 2010, 08:58 PM
  4. Sidebox banner alignment
    By hamid84 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Jan 2010, 10:11 PM
  5. theme277--css--banner alignment
    By DarkAngel in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Nov 2009, 04:59 AM

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