Hi everybody,
I use the yget template and I would like to attribute different colors to each category like Wikio.com for example and the last template MollioBeat.
Thanks you
Romain
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| |
| ||||
|
i created the category colors a while ago. To learn how to do it, take a look at link_summary.tpl from the mollio-beat template for example. To give pieces of your sitedesign the right category colors, do in your tpl files something like this: Code: <div id="categorycolor{$category_id}">
Then go to your CSS file and give those div's some styling: Code: #categorycolor1 {background:#ff6600;}
#categorycolor2 {background:#ff0000;}
#categorycolor3 {background:#ccc;}
etc...
__________________ Like my work? Donations are welcome if you would like to support my work! Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [MOD] Categories in header like Digg (useful if you have subcategories) | dollars5 | Modification Tutorials | 139 | 10-19-2008 10:58 AM |
| Sidebar Categories Enhancement AddOn | AnAlienHolakres3 | Modification Tutorials | 65 | 08-30-2008 11:48 PM |
| No Categories After File Backup Restore | gen3ric | General Help | 2 | 08-22-2008 03:38 PM |
| How to make sub categories? | knut | General Help | 9 | 02-23-2008 06:57 AM |
| Upgrading to 9.5 disables categories | aaronpais | Installation and Upgrade Help | 11 | 05-02-2007 10:07 PM |




Linear Mode

