X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   category titles background image gets cut off (https://forum.x-cart.com/showthread.php?t=4826)

AKR 10-18-2003 02:07 PM

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

B00MER 10-18-2003 05:54 PM

try width=100% and not using a .png perhaps? :?:

jeeya 10-18-2003 05:56 PM

.
 
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>

AKR 10-19-2003 12:47 PM

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.

jeeya 10-19-2003 01:07 PM

.
 
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.

AKR 10-19-2003 01:22 PM

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

jeeya 10-19-2003 01:36 PM

.
 
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 :D Some Feature Customers may not like that.

AKR 10-19-2003 02:55 PM

lol. i changed my link to my customer page. i'll upload an index.htm as well. thanks again, Reuben


All times are GMT -8. The time now is 06:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.