![]() |
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} |
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" |
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> |
Re: font color for new category has deferent color then all other. Why?
Find all "empty-link" in altskin.css and replace the color
|
Re: font color for new category has deferent color then all other. Why?
Done.
As always you are very helpful. Thank you Steve. |
Re: font color for new category has deferent color then all other. Why?
np. glad you got it working
|
All times are GMT -8. The time now is 03:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.