Forums / Templates, Stylesheets, Page Layout / I need help with layout

I need help with layout

Locked
Results 1 to 9 of 9
This thread is locked. New replies are disabled.
07 Jun 2006, 14:53
#1
markmatu1016 avatar

markmatu1016

New Zenner

Join Date:
Dec 2005
Posts:
11
Plugin Contributions:
0

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
07 Jun 2006, 19:36
#2
mist3r_x avatar

mist3r_x

New Zenner

Join Date:
Nov 2005
Posts:
12
Plugin Contributions:
0

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.
07 Jun 2006, 19:41
#3
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Posts:
16
Plugin Contributions:
0

Re: I need help with layout

can't see the problem...
07 Jun 2006, 19:45
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: I need help with layout

Looks fine in FF no break.
07 Jun 2006, 22:48
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: I need help with layout

I guess we folks with "ridiculous" 800x600 monitors are just an insignificant minority....
>;)
07 Jun 2006, 23:10
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

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.
07 Jun 2006, 23:38
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: I need help with layout

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

find:

<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> | 
<a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST, '', 'SSL'); ?>">Wish List</a> | 
<?php if ($_SESSION['customer_id']) { ?>
              <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | 
              <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
08 Jun 2006, 05:13
#8
markmatu1016 avatar

markmatu1016

New Zenner

Join Date:
Dec 2005
Posts:
11
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
08 Jun 2006, 06:22
#9
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: I need help with layout

Glad I could help.