Mosets Community

Mosets Community (http://forum.mosets.com/index.php)
-   Discussions, Troubleshooting & Problems (http://forum.mosets.com/forumdisplay.php?f=47)
-   -   How to change featured category font color problem (http://forum.mosets.com/showthread.php?t=20476)

zoubin 01-15-2013 09:10 PM

How to change featured category font color problem
 
1 Attachment(s)
Hello,

I want change Featured Category font color, how can i do?

See attachment,

Thanks,

Angelo

dknight 01-17-2013 09:02 PM

Hi Angelo,

You may need to alter the index template file to achieve this:

/components/com_mtree/templates/kinabalu/page_index.tpl.php
LINE 107:
PHP Code:

        $this->plugin('ahref'"index.php?option=$this->option&task=listcats&cat_id=$cat->cat_id&Itemid=$this->Itemid"htmlspecialchars($cat->cat_name) ); 

Replace with:
PHP Code:

        $this->plugin('ahref'"index.php?option=$this->option&task=listcats&cat_id=$cat->cat_id&Itemid=$this->Itemid"htmlspecialchars($cat->cat_name), array('class'=>'your-custom-featured-cat-class') ); 

Replace 'your-custom-featured-cat-class' above with a CSS class name where you change its color/style.

zoubin 01-17-2013 09:05 PM

Thank you, i try it. :)

zoubin 01-17-2013 09:20 PM

Hello dknight,

Which one css file?
/components/com_mtree/templates/kinabalu/template.css
or
/template/mosets_kinabalu/template_css.css

Thanks,

Angelo

dknight 01-17-2013 09:31 PM

Use /components/com_mtree/templates/kinabalu/template.css


All times are GMT +8. The time now is 10:00 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.