Add class to a specific category (catrow) Add class to a specific category (catrow)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Add class to a specific category (catrow)

Started by biellebrunner, November 17, 2016, 12:48:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

biellebrunner

Is there a way I can add a specific class to only one category, so I can style it differently when it's displayed on the initial page (like a different background color or smth)?

ΑndrĂ©

Sorry for the late reply. Do you still need a solution for this? Should be possible by modifying function theme_display_cat_list.