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
  #1  
Old 03-03-2010, 02:59 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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,
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #2  
Old 03-03-2010, 07:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-03-2010, 08:37 PM
  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?

As i always do. Category > add new...
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #4  
Old 03-04-2010, 05:49 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 03-04-2010, 08:51 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?

What is that i need to do to fix it?
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #6  
Old 03-04-2010, 03:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 03-04-2010, 03:49 PM
  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?

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}
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #8  
Old 03-04-2010, 05:59 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 03-04-2010, 07:19 PM
  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?

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}
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

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

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

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

And that take takes you fancy_categories.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 03:35 PM.

   

 
X-Cart forums © 2001-2020