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

Subcat border

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-18-2006, 02:35 AM
 
spy spy is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default Subcat border

Ok what i want to do is remove the border around my subcat pic's. I already went to my subcategories.tpl and set the border to zero but that did not work. Does anyone have other ideas? I tried looking into my customer.css but im not too sure what to look for.

thanks
__________________
x-cart 4.0.17 gold
Reply With Quote
  #2  
Old 11-18-2006, 03:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Subcat border

If you have subcat pics, it means you installed a third party mod, as they don't display by default in your version. So....if you post your subcategories.tpl, perhaps we can point you in the right direction
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-18-2006, 08:53 AM
 
spy spy is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default Re: Subcat border

Thanks!

This is what i have...


{* $Id: subcategories.tpl,v 1.29 2002/11/26 14:55:13 alfiya Exp $ *}
{ include file="location.tpl" }
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"}
<p>
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<p>
{ include file="customer/main/navigation.tpl" }
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace: "/[\n]/":"<BR>"}<P>{/if}

{capture name=dialog}
{assign var="tmp" value="0"}

{section name=cat_num loop=$subcategories}
{if $subcategories[cat_num].category}{assign var="tmp" value="1"}{/if}
{/section}

{section name=cat_num loop=$subcategories}

{ if %cat_num.first% }
<table border=0 cellspacing=0 width=100%>
{/if}

{if $smarty.section.cat_num.index is div by 3}
</tr><tr valign="top">
{/if}

<td valign="top" width="70" align="center">
<a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }">

<IMG src="icon.php?categoryid={$subcategories[cat_num].categoryid}" width="150">

</a><br><a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }">
<b>{$subcategories[cat_num].category|escape}</b></a><br>
{ $subcategories[cat_num].description|escape }
{if $config.Appearance.count_products eq "Y"}
<br>
<font class=Text><small>a
{if $subcategories[cat_num].product_count}
{ $subcategories[cat_num].product_count } {$lng.lbl_products}
{elseif $subcategories[cat_num].subcategory_count}
{ $subcategories[cat_num].subcategory_count } {$lng.lbl_categories|lower}
{/if}
</small></font>
{/if}
<br>
</td>


{ if %cat_num.last% }
</tr></table>
{/if}

{/section}
{if $tmp and $products ne "" }
<br clear=_all>{*<hr size=1 noshade>*}
{/if}

{if $products eq "" and $tmp eq "0"}
{$lng.txt_no_products_in_cat}
{/if}

<br><br>
{include file="customer/main/products.tpl" products=$products}

{/capture}
{include file="dialog.tpl" title=$current_category.category|regex_replace:"/.*\//":"" content=$smarty.capture.dialog extra="width=100%"}

{if $products eq ""}
{if $f_products ne ""}
<p>
{include file="customer/main/featured.tpl"}
{/if}
{/if}
{ include file="customer/main/navigation.tpl" }
__________________
x-cart 4.0.17 gold
Reply With Quote
  #4  
Old 11-18-2006, 09:30 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Re: Subcat border

does
<IMG border="0" src="icon.php?categoryid={$subcategories[cat_num].categoryid}" width="150">

not work ??
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #5  
Old 11-18-2006, 09:41 AM
 
spy spy is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default Re: Subcat border

Not work as in no border? no the borer is still there
__________________
x-cart 4.0.17 gold
Reply With Quote
  #6  
Old 11-19-2006, 09:58 AM
 
spy spy is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default Re: Subcat border

anyone? http://planetsmilies.net/sad-smiley-423.gif
__________________
x-cart 4.0.17 gold
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 10:26 AM.

   

 
X-Cart forums © 2001-2020