Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    This is what I ended up with. I had to adjust the "alt" size in the tpl_header.php very large (450/150) to encompass the logo and position the #logo to left justified. Also reduced the #logoWrapper left margin to zero to move the alt to coincide with the logo.

    I have 1 more problem tho (yeah right ), the link (' . HTTP_SERVER . DIR_WS_CATALOG . ') in the tpl_header.php alt is not working.

    #logo {
    width: 295px;
    height: 150px;
    float: left;
    }


    #logoWrapper {
    float: left;
    margin: 1em 0 0 0em; /*(top) (right) (bottom) (left) position logo*/
    }


    tpl_header.php

    <div id="logo"><a href="' . HTTP_SERVER . DIR_WS_CATALOG . '"><img src="images/pixel_trans.gif" alt="" width="450" height="150" /></a></div>

    Sweet

  2. #22
    Join Date
    Jul 2004
    Location
    Las Vegas
    Posts
    477
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    Quote Originally Posted by Sweet ZouZou View Post
    This is what I ended up with. I had to adjust the "alt" size in the tpl_header.php very large (450/150) to encompass the logo and position the #logo to left justified. Also reduced the #logoWrapper left margin to zero to move the alt to coincide with the logo.

    I have 1 more problem tho (yeah right ), the link (' . HTTP_SERVER . DIR_WS_CATALOG . ') in the tpl_header.php alt is not working.

    #logo {
    width: 295px;
    height: 150px;
    float: left;
    }


    #logoWrapper {
    float: left;
    margin: 1em 0 0 0em; /*(top) (right) (bottom) (left) position logo*/
    }


    tpl_header.php

    <div id="logo"><a href="' . HTTP_SERVER . DIR_WS_CATALOG . '"><img src="images/pixel_trans.gif" alt="" width="450" height="150" /></a></div>

    Sweet
    It should read:
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' ?><img src="images/pixel_trans.gif" alt="" width="450" height="150" /></a></div>
    That will fix your problem I believe
    User of zencart

  3. #23
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Header logo ovelapping header bar, how do I do it??

    thx batteryman, I knew it was something simple ;-)

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. How to get rid of main logo image link in the header bar area?
    By aaronjmorgan in forum General Questions
    Replies: 2
    Last Post: 7 May 2014, 02:46 AM
  2. logo integrated into header bar
    By rogisf2000 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 7 Nov 2008, 08:27 PM
  3. How do i make a space between my navigational bar and header bar
    By hoygs740 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Sep 2008, 06:03 PM
  4. Logo/Header bar order
    By nacidoporfe in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jun 2007, 06:47 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