Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: moving the home log in

    I just added a backgroud image to that area and the same image is showing up just above the site info copyright area, Do you know why that happened?

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

    Default Re: moving the home log in

    You added the background to a group declaration, where several elements are controlled. You need to separate out #navMainWrapper into its own line, and style that with the background.

  3. #3
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: moving the home log in

    Ah ha!
    Thank you Glenn, I believe I fixed it now.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: moving the home log in

    Grrrrrr... I followed all of this, and it didn't work for me.. I moved the EZ Links to the "navMain" div. I commented out both "<br class="clearBoth" />" in the file. Both sets of links still appear on two lines.

    Code:
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?php } } ?>
    
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    Any ideas what I missed/did wrong??

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: moving the home log in


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

    Default Re: moving the home log in

    There is styling that goes with this to get the elements arranged properly. Also, you have a declaration in your stylesheet that prevents the correct styling from taking effect.
    Code:
    #navMain ul {  <----------------------delete this declaration
    	float:none; margin: 0 auto  <---this is making the "home" list take full width
    	} 
    /*add these to your stylesheet*/
    #contentMainWrapper {clear: both;}
    #navMain {float: left;}
    #navEZPagesTop {float: right;}

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: moving the home log in

    Quote Originally Posted by gjh42 View Post
    There is styling that goes with this to get the elements arranged properly. Also, you have a declaration in your stylesheet that prevents the correct styling from taking effect.
    Code:
    #navMain ul {  <----------------------delete this declaration
        float:none; margin: 0 auto  <---this is making the "home" list take full width
        } 
    /*add these to your stylesheet*/
    #contentMainWrapper {clear: both;}
    #navMain {float: left;}
    #navEZPagesTop {float: right;}
    Thanks Glenn.. I'd been hacking away at this stylesheet before I posted 'cause I was starting to suspect that my issue was buried therein.. Got this all working pretty much the way I wanted.. (I would have preferred to keep the rounded background behind the links, but I'll live with this the way it is..) Thanks a heap for your intervention..

 

 

Similar Threads

  1. Moving the Log In / Or Register link
    By redsy in forum General Questions
    Replies: 4
    Last Post: 6 Dec 2010, 11:24 PM
  2. Moving text underneath the catogories on the home page
    By olaand in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Jun 2008, 07:42 AM
  3. Moving 'Home | Log In', search bar, etc under header image
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Jul 2006, 11:52 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