Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Move Home Login to ABOVE the header

    Can anyone help me out for a minute. I am trying to move the home, login ect. to above my header area and just outside the main wrapper border. Can Anyone help?

  2. #2
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Move Home Login to ABOVE the header

    Or does anyone know how I can create an area like this site http://www.hostesswiththemostess.com/

    Under the header for the links?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Move Home Login to ABOVE the header

    You can move the header navbar by moving the code in tpl_header.php beginning with <!--bof navigation display--> and ending with <!--eof navigation display--> to wherever you want it; in this case, to just below <!--eof branding display-->.

    Style it in your stylesheet with
    PHP Code:
    #navMainHeader {
        
    color#001122;
        
    background-color#ccddee;
        
    border3px solid #ffffff;
        

    adjust as desired.

  4. #4
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Move Home Login to ABOVE the header

    What I have ended up deciding is to put the home, login, ect, above the actual brown frame on my site. Directly above it. My url is www.sassyjewelryboutique.com

    Any idea on how I can get this to go that? WHen I edit the headeer file, it puts the links in the main wrapper with a brown background. I do not want them in the wrapper, I would love the links to sit right above the top brown border.,

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Move Home Login to ABOVE the header

    Edit /includes/templates/your_template/common/tpl_main_page.php for your needs.

    Try putting the navbar code block just above
    <div id="mainWrapper">

    You will probably need to give it a fixed width in your stylesheet, and margin settings.

  6. #6
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Move Home Login to ABOVE the header

    I do not seem to have that. Here is what my header file has

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_header = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
    */
    ?>


    <?php
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    echo htmlspecialchars(urldecode($_GET['error_message']));
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    echo htmlspecialchars($_GET['info_message']);
    } else {

    }
    ?>

    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <TABLE WIDTH=785 BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
    <TD>
    <IMG SRC="images/jewelry_fashion_01.gif" WIDTH=564 HEIGHT=60 ALT=""></TD>
    <TD>
    <IMG SRC="images/jewelry_fashion_02.gif" WIDTH=221 HEIGHT=60 ALT=""></TD>
    </TR>
    <TR>
    <TD>
    <IMG SRC="images/jewelry_fashion_03.gif" WIDTH=564 HEIGHT=65 ALT=""></TD>
    <TD>
    <IMG SRC="images/jewelry_fashion_04.gif" WIDTH=221 HEIGHT=65 ALT=""></TD>
    </TR>
    </TABLE>

    <?php } ?>

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Move Home Login to ABOVE the header

    Essentially the entire contents of your original tpl_header.php have been replaced with this table.

    Go to /template_default/common/tpl_header.php and copy the navbar block from that to /your_template/common/tpl_main_page.php as noted ablve.

 

 

Similar Threads

  1. Move Home & login in header
    By jamair in forum Basic Configuration
    Replies: 2
    Last Post: 19 Jul 2012, 08:27 PM
  2. Home and Login move inside the header v 1.3.8
    By Ponyack in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Mar 2009, 04:13 AM
  3. Move home/login to ezpages header?
    By monkeypeach in forum Basic Configuration
    Replies: 1
    Last Post: 17 Sep 2008, 05:39 PM
  4. Move home/login to inside header?
    By kitschgifts in forum General Questions
    Replies: 2
    Last Post: 27 May 2008, 10:15 PM
  5. Move 'Home Login' under header?
    By pandafia.com in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Dec 2007, 07:10 AM

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