Changing the color of the category count
Changing the color od the category count in modern theme at the homepage is very easy. We are going to change the following :
We are working on the lines 55 and 59 of main.php (oc-content/themes/modern/main.php)
Line 55 (a little part of it)
( echo osc_category_total_items() ; ?>)
Change it to
( echo osc_category_total_items() ; ?>)
Line 59
( echo osc_category_total_items() ; ?>)
change it to
( echo osc_category_total_items() ; ?>)
Open the style.cc file (located at oc-content/themes/modern/css/style.css) Add the following lines at the end of the file
.home #main .categories .category span.parent_cat_total_items { color:red;} span.sub_cat_total_items { color:blue;}
Replace red and blue with the colors you want.
تعليقات
إرسال تعليق