![]() |
Category Display
Is there any mod out there that will allow a custom css file to load depending on the category chosen? I'm not looking for a whole different skin, just want to change some colors for just one category.
|
Re: Category Display
There is no need of any module. In home.tpl in <head> section
{if $current_category.categoryid eq "xx"} load yyy.css {else} load zzz.css {/if} or just the first portion of the {if} if you are looking to just load css file on specific category and everything else stays the same. |
Re: Category Display
How about adding an "or current manufactuer eq "xx"?? so the products of those vendors use the same css.
|
Re: Category Display
nevermind, i got it,
added or $product.manufacturerid eq "9" |
All times are GMT -8. The time now is 01:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.