![]() |
Category Box - links & color
How can you change only the main category box links colors and decorations?
I have tried everything. Please if anyone can tell me how to change this for just the "Main category" box on the left only I would appreciate it. - THANK YOU IN ADVANCE - |
Re: Category Box - links & color
Basically right now the font colors are all blue and when you mouse over them they show underline. I want to change only the categories font color and remove the text-decoration: underline from this area as well. Anyone??? psst... PLEASE
|
Re: Category Box - links & color
append this to your skin1/main.css
Code:
.menu-categories-list ul li a:link, .menu-categories-list ul li a:visited, |
Re: Category Box - links & color
hey victor thanks :) Is there anyway you can give me your opinion on:
http://forum.x-cart.com/showthread.php?t=45126 Sorry to link you to it like this. But any help would be much appreciated. |
Re: Category Box - links & color
How I change the font size, font family family to the Categories menu list?
I did the separate class in main.css, but doesn't work... any advice? :( |
Re: Category Box - links & color
I have searched for it. But did not find '.VertMenuItems'
|
Re: Category Box - links & color
Mine is 4.2 version, so I can't find the '.VertMenuItems' in the main.css
|
Re: Category Box - links & color
The recipe is the same
Code:
.menu-categories-list ul li a:link, .menu-categories-list ul li a:visited, |
Re: Category Box - links & color
Perfect! That worked! Thank you very much!
|
Re: Category Box - links & color
Victor, could you tell me how to change the bolded decoration only to the selected sub category? Because I did a mod where whatever category is active, it drops down all the subcategorys beneath it. Thanks
|
Re: Category Box - links & color
Quote:
Please post it here |
Re: Category Box - links & color
oh sorry, here it is:
{* $Id: categories.tpl,v 1.33 2008/11/06 16:53:53 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {capture name=menu} {if $active_modules.Fancy_Categories} {include file="modules/Fancy_Categories/categories.tpl"} {assign var="additional_class" value="menu-fancy-categories-list"} {else} {assign var=thiscat value=$cat} {assign var=par value=0} {foreach from=$categories item=cats} {assign var=Mcatid value=$cats.categoryid} {foreach from=$allsubcategories.$Mcatid item=subb} {if $subb.categoryid eq $thiscat} {assign var=par value=$subb.parentid} {/if} {/foreach} {/foreach} <ul> {foreach from=$categories_menu_list item=c} <li><a href="home.php?cat={$c.categoryid}" title="{$c.category|escape}">{$c.category}</a></li> {if $c.categoryid eq $par} {foreach from=$allsubcategories.$par item=sub} {if $sub.parentid eq $c.categoryid} <a href="home.php?cat={$sub.categoryid}" class="subMenuItem">-{$sub.category}</a> {/if} {/foreach} {/if} {foreach from=$allcategories item=cat} {if $cat.parentid eq $c.categoryid} <a href="home.php?cat={$cat.categoryid}" class="subMenuItem">-{$cat.category}</a> {/if} {/foreach} {/foreach} </ul> {assign var="additional_class" value="menu-categories-list"} {/if} {/capture} {include file="customer/menu_dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.menu} |
Re: Category Box - links & color
Something like this:
Code:
{* also add this to you main.css Code:
.menu-categories-list ul li a.selcat{font-weight:bold} |
Re: Category Box - links & color
Thank you very much Victor, works perfectly!
|
Re: Category Box - links & color
Hello, i have a different problem on my left column all the boxes have different text colours, i looks a mess.
I have tried skin css but nothing changed (i have thrown away cookies) is there a solution to make all the text colours in the left column the same or do you have to edit the boxes seperatly. the boxes are: manufacturers news categories most sold i have searched for 3 days but did not find the answer |
Re: Category Box - links & color
Quote:
I need to know what template is used in your store. If it isn't made by Qualiteam provide me with URL. |
Re: Category Box - links & color
To change the text colors, you will change the class in the styles sheet.
Quote:
|
All times are GMT -8. The time now is 05:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.