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

category titles background image gets cut off

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-18-2003, 02:07 PM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default category titles background image gets cut off

on a few of my titles, the background image gets cut off, but the same image-behind longer words-doesn't. can someone help me with this? here's my menu.tpl code:

<TABLE border=0 cellPadding=5 cellSpacing=0 width="100%">
<TR>
{if $link_href}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 valign=center width=80%><font class=VertMenuTitle>{$menu_title}</font></TD>
{else}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 valign=center width=80%><font class=VertMenuBoxNewsTitle>{$menu_title}</font></TD>
{/if}
</TR>
<TR>
<TD colspan="2" class=VertMenuBox>{$menu_content}
</TD></TR>
</TABLE>


p.s. i just noticed that this happens in explorer, but not mozilla.

thanks, Reuben
Reply With Quote
  #2  
Old 10-18-2003, 05:54 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

try width=100% and not using a .png perhaps?
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 10-18-2003, 05:56 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

Here is what I have.

Make necessary changes to it. Edit it in frontpage or dreamweaver and set table witdth.


<TABLE border=1 cellPadding=5 cellSpacing=0 width="100%" style="border-collapse: collapse" bordercolor="#FF6600">
<TR>
{if $link_href}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 valign=center width=80% align="left"><font class=VertMenuTitle>
<font color="#FFFFFF"></font><font color="#FFFFFF">{$menu_title}</font></font></TD>
{else}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 width=80% align="left">
<font class=VertMenuBoxNewsTitle color="#FFFFFF"> {$menu_title}</font></TD>
{/if}
</TR>
<TR>
<TD colspan="2" class=VertMenuBox>{$menu_content}
</TD></TR>
</TABLE>
__________________
X-Cart Version 4.1.8
Hosted on Linux
Reply With Quote
  #4  
Old 10-19-2003, 12:47 PM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default

BOOMER, that didn't work.

raxitpatel, i used your code and it worked for the tables in admin, but not customer. why would that be? the left menu tables are all the same width in admin, but not customer. i don't get it.
Reply With Quote
  #5  
Old 10-19-2003, 01:07 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

Try to go to safe mode (webmaster mode) than go to customer/home.php and try to edit menu.tpl in customer area and try to switch the code. that might work.

Also You might want to put index page on your website saying your site is not ready or something temporary, It might not be a good idea to saw your folders.
Reply With Quote
  #6  
Old 10-19-2003, 01:22 PM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default

one step ahead of you. i viewed the source for admin and customer and found the code that was different for the table widths. i thought one menu controlled all of them, but apparently not. anyway, i fixed it!

i already have something on my /customer page:

Welcome to BAKE ME INTO YOUR PAH!

LUUUKE, LUUUUKE, I AM YOUR FATHER.

Our store is currently closed. Nooooo SHOPPY !


what do you mean "saw" my folders? thanks for the help. -Reuben
Reply With Quote
  #7  
Old 10-19-2003, 01:36 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

when I open your website by clicking on www link under your messanges - http://bakemeintoyourpah.com - It shows all the folders in your website. You just need to upload Index.htm file saying website is under construction so when ever someone opens your website it should show index.htm page instead of folders in your website.


and yeh you might want to take out I am your daddy line from website Some Feature Customers may not like that.
Reply With Quote
  #8  
Old 10-19-2003, 02:55 PM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default

lol. i changed my link to my customer page. i'll upload an index.htm as well. thanks again, Reuben
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 02:50 AM.

   

 
X-Cart forums © 2001-2020