Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Space at the bottom of all default menus

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-08-2004, 06:04 AM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default Space at the bottom of all default menus

Hello,

I am having a bit of a problem removing the space at the bottom of the default menus. I have tried several things, but am unable to remove them. Can anyone help?

Thank you,

Tracy McClarnon
Reply With Quote
  #2  
Old 03-08-2004, 06:35 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

sounds like you need to remove the
tags from the bottom of each menu file or in the home.tpl file
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-08-2004, 06:40 AM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

Thank you for the suggestions, but...

I don't see any
s at the end of the .tpl files that would cause this. If you look at the default installations of x-cart, you will see this space. I am at a lose.
Reply With Quote
  #4  
Old 03-08-2004, 07:50 AM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

Here is the code that is giving me problems:

Code:
{* $Id: news.tpl,v 1.14 2003/08/13 06:49:07 svowl Exp $ *} {capture name=menu} <FONT class=VertMenuItems> <span style="font-size: 9px"> {include file="today_news.tpl"} </span> <FONT class=TheNews>{$lng.txt_subscribe_monthly}</FONT> <form action="{$xcart_web_dir}/mail/subscribe.php" method=get name=subscribeform> <input type="text" name="email" size=27> {include file="buttons/subscribe_menu.tpl"} <input name=redirect type=hidden value="{$redirect}"> </form> </FONT> {/capture} { include file="newsletter_menu.tpl" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu }
Reply With Quote
  #5  
Old 03-08-2004, 08:04 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

try this instead, the problem is the because of the <form> tag. if you wrap it in a table it lays out better

Code:
{* $Id: news.tpl,v 1.14 2003/08/13 06:49:07 svowl Exp $ *} {capture name=menu} <FONT class=VertMenuItems> <span style="font-size: 9px"> {include file="today_news.tpl"} </span> <FONT class=TheNews>{$lng.txt_subscribe_monthly}</FONT> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><form action="{$xcart_web_dir}/mail/subscribe.php" method=get name=subscribeform> <td> <input type="text" name="email" size=27> {include file="buttons/subscribe_menu.tpl"} <input name=redirect type=hidden value="{$redirect}"> </td></form> </tr> </table> </FONT> {/capture} { include file="newsletter_menu.tpl" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu }
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 03-08-2004, 08:41 AM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

That worked! Thank you
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:13 AM.

   

 
X-Cart forums © 2001-2020