inherit
58586
0
Oct 24, 2024 16:15:35 GMT -8
Omio
Quack.
2,358
September 2005
omio
|
Post by Omio on Mar 16, 2013 11:35:05 GMT -8
Okay, so, how do we change the catrgory header things into all different colours, like this? To point out what I mean, see the attachment. Attachments:
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 16, 2013 11:40:54 GMT -8
Those category bars are images. I didn't look into it right now, but I assume the images are placed using a plugin or something (since each category has a different image).
|
|
inherit
58586
0
Oct 24, 2024 16:15:35 GMT -8
Omio
Quack.
2,358
September 2005
omio
|
Post by Omio on Mar 16, 2013 11:45:06 GMT -8
Those category bars are images. I didn't look into it right now, but I assume the images are placed using a plugin or something (since each category has a different image). Either way, can there be a way to change the background colour of the title bars? With v4, I would've been willing to try Javascript-ing it, but with v5, I'm wondering if there's some stupid template thing I'm missing. Also, the image-example one is a v4 code. I want to replicate a similar [read: more efficient] thing on v5.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 16, 2013 11:48:57 GMT -8
There isn't a way to differentiate categories by default, but some creative CSS or CSS and JS could easily do this. Remember that JQuery is an option now by default, so JS is easy for selecting things like that. I know the one on the Err Bear skin here on support is a plugin, but I don't remember if that plugin was made public or not. EDIT: support.proboards.com/thread/431878/plugin-multicolored-categories-1-3
|
|
inherit
58586
0
Oct 24, 2024 16:15:35 GMT -8
Omio
Quack.
2,358
September 2005
omio
|
Post by Omio on Mar 16, 2013 12:08:58 GMT -8
Just what the doctor ordered, thanks!
self.lock();
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Mar 16, 2013 13:44:45 GMT -8
If you're just looking for it just on the main page (where the categories are most obvious to people), it's a simple template change and then usual CSS afterwards. To emulate Brian's plugin, you'd also need to edit 2 places in the Board template and once in the Board Password Protection, Thread and Posting Page templates; just add the same code as below to the title-bar class divs. Unfortunately, the category id variable isn't available for the Posting Page (nor are any board/thread variables at all actually) so it falls short there. For people looking for something simple, quick, and easy to customise, this should do, otherwise: sure, go ahead and plugin all the things. And at this point I'm pretty much just posting this as a proof of concept now Themes > Layout Templates > Home, somewhere around line 5, add the red part: Then in your CSS: Rinse and repeat.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 16, 2013 14:00:58 GMT -8
I of course looked at the default HTML and didn't think of adding custom IDs or classes.
Plugin would still be the easiest to configure, and would work without dependencies on post templates.
|
|