vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328330

How can I create a class for each category
by darkboy245
04 Nov 2020 21:27

I'd like to modify each category with CSS but in vBulletin 5 I can only do that with forums and not categories.
How can I make a unique class for each individual category?
lets say Category 1 is #Cat1, category 2 is #Cat2, etc.

The purpose of this is so I can create a grid-view for categories.

Thanks

yilmaz 05 Nov 2020 00:23

1 Attachment(s)
Have I got it right?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Screenshot


https://www.vbulletin.org/forum/atta...1&d=1604539568

darkboy245 05 Nov 2020 01:34

Quote:

Originally Posted by yilmaz (Post 2604552)
Have I got it right?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Screenshot


https://www.vbulletin.org/forum/atta...1&d=1604539568

This is right but for individual forums, I want to be able to edit a whole category container
https://image.prntscr.com/image/y2R5...faOCgQKVPQ.png

so if "Test Category" id was 20, the class would be #category20 or something like that, just like forums.


All times are GMT. The time now is 17:31.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.