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)
-   -   font color for new category has deferent color then all other. Why? (https://forum.x-cart.com/showthread.php?t=52626)

tam10 03-03-2010 02:59 PM

font color for new category has deferent color then all other. Why?
 
I added a new category to the flyout menu, and for some reason the fonts of this new category are not same color as all other category in the menu.
Please, if anyone can help me fix it .

Thanks in advance,

cflsystems 03-03-2010 07:35 PM

Re: font color for new category has deferent color then all other. Why?
 
You added it manually or through the categories menu? If manually in the code then you probably have to assign css class to it

tam10 03-03-2010 08:37 PM

Re: font color for new category has deferent color then all other. Why?
 
As i always do. Category > add new...

cflsystems 03-04-2010 05:49 AM

Re: font color for new category has deferent color then all other. Why?
 
You somehow have different css class assigned to this last item - class="empty-link"

tam10 03-04-2010 08:51 AM

Re: font color for new category has deferent color then all other. Why?
 
What is that i need to do to fix it?

cflsystems 03-04-2010 03:23 PM

Re: font color for new category has deferent color then all other. Why?
 
In the categories template code you need to check and see why this class is for the last link. Or you can change the color for this css class but this may change color to something else as well

tam10 03-04-2010 03:49 PM

Re: font color for new category has deferent color then all other. Why?
 
here? do you see something? thanks

{*
$Id: categories.tpl,v 1.35 2009/05/12 07:37:15 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}
{if $active_modules.Flyout_Menus}
<img src="{$ImagesDir}/spacer.gif" alt="" class="fancy-height-extender" />
{include file="modules/Flyout_Menus/categories.tpl"}
{assign var="additional_class" value="menu-fancy-categories-list"}
{else}
<img src="{$ImagesDir}/spacer.gif" alt="" class="height-extender" />
<ul>
{foreach from=$categories_menu_list item=c name=categories}
<li{interline name=categories}><a href="home.php?cat={$c.categoryid}" title="{$c.category|escape}">{$c.category}</a></li>
{/foreach}
</ul>
{assign var="additional_class" value="menu-categories-list"}
{/if}
<div class="categories-clearing"></div>
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.menu}

cflsystems 03-04-2010 05:59 PM

Re: font color for new category has deferent color then all other. Why?
 
That is the categories.tpl - in your case you need to look in modules/Flyout_Menus/categories.tpl

tam10 03-04-2010 07:19 PM

Re: font color for new category has deferent color then all other. Why?
 
Here it is.

{*
$Id: categories.tpl,v 1.1 2009/03/19 13:26:35 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $fc_skin_path}
{include file="`$fc_skin_path`/fancy_categories.tpl"}
{/if}

cflsystems 03-05-2010 05:15 AM

Re: font color for new category has deferent color then all other. Why?
 
And that take takes you fancy_categories.tpl


All times are GMT -8. The time now is 11:55 PM.

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