Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Add class to a specific category (catrow)  (Read 8215 times)

0 Members and 1 Guest are viewing this topic.

biellebrunner

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Add class to a specific category (catrow)
« on: November 17, 2016, 12:48:44 am »

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)?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Add class to a specific category (catrow)
« Reply #1 on: June 30, 2017, 04:06:11 pm »

Sorry for the late reply. Do you still need a solution for this? Should be possible by modifying function theme_display_cat_list.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.