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

font color for new category has deferent color then all other. Why?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-05-2010, 07:31 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: font color for new category has deferent color then all other. Why?

{*
$Id: fancy_categories.tpl,v 1.5 2009/06/25 05:28:28 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $fc_skin_path}
<script type="text/javascript" src="{$SkinDir}/{$fc_skin_path}/func.js"></script>
<div id="{$fancy_cat_prefix}rootmenu" class="fancycat-icons-scheme {if $config.Flyout_Menus.icons_mode eq 'C'}fancycat-icons-c{else}fancycat-icons-e{/if}">
{if $fancy_use_cache}
{fancycat_get_cache}
{elseif $config.Flyout_Menus.icons_mode eq 'C'}
{include file="`$fc_skin_path`/fancy_subcategories_exp.tpl" level=0}
{else}
{include file="`$fc_skin_path`/fancy_subcategories.tpl" level=0}
{/if}
{if $catexp}
<script type="text/javascript">
<!--
var catexp = {$catexp|default:0};
-->
</script>
{/if}
<div class="clearing"></div>
</div>
{/if}
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #12  
Old 03-05-2010, 10:25 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: font color for new category has deferent color then all other. Why?

And this will take us to fancy_subcategories_exp.tpl. OMG so many templates calling each other just to show a simple categories list. Don't even bother to search for the reason, just open altskin.css, find

.welcome-top .fancycat-icons-e a.empty-link:link, .welcome-top .fancycat-icons-e a.empty-link:visited, .welcome-top .fancycat-icons-e a.empty-link:hover, .welcome-top .fancycat-icons-e a.empty-link:active, .welcome-top .fancycat-icons-c a.empty-link:link, .welcome-top .fancycat-icons-c a.empty-link:visited, .welcome-top .fancycat-icons-c a.empty-link:hover, .welcome-top .fancycat-icons-c a.empty-link:active {
color:#A0818A;


}

and replace the color # with "#830227"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 03-05-2010, 10:43 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: font color for new category has deferent color then all other. Why?

it works only on main page.

Here sub..

{*
$Id: fancy_subcategories_exp.tpl,v 1.5 2009/07/16 06:09:58 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<ul class="fancycat-icons-level-{$level}">
{assign var="loop_name" value="subcat`$parentid`"}
{foreach from=$categories item=c key=catid name=$loop_name}
{if $config.Flyout_Menus.icons_disable_subcat_triangle eq 'Y' && $c.subcategory_count gt 0}
{assign var=additional_class value="closed sub-link"}
{else}
{assign var=additional_class value=''}
{/if}
<li id="cat-layer-{$c.categoryid}"{interline name=$loop_name additional_class=$additional_class}>
{strip}
{if $config.Flyout_Menus.icons_disable_subcat_triangle eq 'Y' && $c.subcategory_count gt 0}
<a href="home.php?cat={$catid}" class="arrow" onclick="javascript: return switchSubcatLayer(this);"></a>
{/if}
<a href="home.php?cat={$catid}" class="{if $config.Flyout_Menus.icons_icons_in_categories gte $level+1}icon-link{/if}{if $config.Flyout_Menus.icons_disable_subcat_triangle eq 'Y' && $c.subcategory_count gt 0} sub-link{/if}{if $config.Flyout_Menus.icons_empty_category_vis eq 'Y' && !$c.childs && !$c.product_count} empty-link{/if}{if $config.Flyout_Menus.icons_nowrap_category ne 'Y'} nowrap-link{/if}">
{$c.category|amp}
{if $config.Flyout_Menus.icons_display_products_cnt eq 'Y' && $c.top_product_count gt 0}
({$c.top_product_count})
{/if}
</a>
{/strip}
{if $c.childs && $c.subcategory_count gt 0 && ($config.Flyout_Menus.icons_levels_limit eq 0 || $config.Flyout_Menus.icons_levels_limit gt $level)}
{include file="`$fc_skin_path`/fancy_subcategories_exp.tpl" categories=$c.childs parentid=$catid level=$level+1}
{/if}
</li>
{/foreach}
</ul>
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #14  
Old 03-05-2010, 10:46 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: font color for new category has deferent color then all other. Why?

Find all "empty-link" in altskin.css and replace the color
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #15  
Old 03-05-2010, 10:58 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: font color for new category has deferent color then all other. Why?

Done.

As always you are very helpful. Thank you Steve.
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #16  
Old 03-05-2010, 10:59 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: font color for new category has deferent color then all other. Why?

np. glad you got it working
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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:06 PM.

   

 
X-Cart forums © 2001-2020