Colors per Category

0 views
Skip to first unread message

cfrohn

unread,
Feb 27, 2009, 8:38:57 AM2/27/09
to WuCoco Users
Hi,

I modified the header of the template trying in order to get different
colors for a specific category. This works smoothly in various other
templates, but obviously not in Wucoco.

Maybe somebody could help.

Task: For the category "test" the text color and link color should be
different from whats defined in the core_css.

Here is what I did, which works in other templates, but not WuCoco


<style>
<?php
if (is_category('test')) {echo "
a, a:visited {color: #ffffff;}

#content h1 {color: #495D5C;}

body {color: #ffffff;}

.left {text-align: right;}

#header{
padding-left: 4px;
margin: 4px 5px;
}
";}
?>
</style>

mikel...@gmail.com

unread,
Feb 27, 2009, 11:07:04 AM2/27/09
to WuCoco Users
> Task: For the category "test" the text color and link color should be
> different from whats defined in the core_css.
>
> Here is what I did, which works in other templates, but not WuCoco

Those CSS statements don't have any meaning in WuCoco. It isn't just
a CSS rewrite of Kubrick as many themes are, it has its own tag
structure and its own CSS hierarchy which need to be used if you're
writing customizations for it. Look in the CSS files and in template
code to find the real names of the elements you're trying to change
and use those.

Thanks,
Mike Lococo
Reply all
Reply to author
Forward
0 new messages