Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2005
    Posts
    15
    Plugin Contributions
    0

    Default I need help with layout

    Can someone tell me where I would go to edit the HOME-LOG IN-CREATE ACCOUNT so that the word "Account" was not on a separate line?

    See here:
    http://viral-promotions.com/index.php?main_page

    I may need to edit it in more than one spot.

    Mark Matuszewski

  2. #2
    Join Date
    Nov 2005
    Posts
    12
    Plugin Contributions
    0

    Default Re: I need help with layout

    Nice looking layout there. But it's all on one line for me. Unless you’re using a ridiculously small screen resolution like 600x800 I don’t understand how it’s breaking into 2 lines.

  3. #3
    Join Date
    Jun 2006
    Location
    Lisboa - Portugal
    Posts
    16
    Plugin Contributions
    0

    Default Re: I need help with layout

    can't see the problem...
    Brunnelli

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: I need help with layout

    Looks fine in FF no break.

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

    Default Re: I need help with layout

    I guess we folks with "ridiculous" 800x600 monitors are just an insignificant minority....
    >;)

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

    Default Re: I need help with layout

    You are using an old version of Zen Cart - which one?

    There are four cells in the .headerNavigation table, three of which are empty. In a narrow window, they crowd the one significant one too much, making it break to the next line. Try changing something there. I can't see your php files to know just what is generating it.

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: I need help with layout

    Look in includes -> Templates -> YOUR_TEMPLATE -> common -> tpl_header.php

    find:

    Code:
    <table border="0" cellspacing="0" cellpadding="0" class="headerNavigation" align="center">
    <tr class="headerNavigation">
    <td align="left" valign="top" width="247" class="headerNavigation"><a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>&nbsp;|&nbsp;
    <a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST, '', 'SSL'); ?>">Wish List</a>&nbsp;|&nbsp;
    <?php if ($_SESSION['customer_id']) { ?>
                  <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>&nbsp;|&nbsp;
                  <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
                  <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    
    </td>
    <td align="center" width="220">
    
    </td>
    <td class="headerNavigation" align="right" valign="top" width="291">
    </td>
    The portions in red are fixed width try changing them to percentages.
    Make the first one 50% and the other 2 at 25%.

    See if that helps

  8. #8
    Join Date
    Dec 2005
    Posts
    15
    Plugin Contributions
    0

    Re: I need help with layout

    Clyde!

    You rock buddy! I had to make one other small change but using % made it much simpler. You are indeed a Zen Master! I tinkered with that darn thing for hours.

    Check it now:
    http://viral-promotions.com

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: I need help with layout

    Glad I could help.

 

 

Similar Threads

  1. Need help with attributes layout..
    By anksrox in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Aug 2009, 04:29 PM
  2. I need help with page layout?
    By Jordin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jan 2009, 08:57 AM
  3. Need help with layout
    By tim2255 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2008, 11:49 AM
  4. Need help with my layout Plz
    By delequah in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Apr 2007, 07:05 PM
  5. Need help with product layout
    By stbede77 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Aug 2006, 06:50 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