If you were to include the category name (and maybe even the discussion ID) as classes on the <body> tag, that would give great power and flexibility for customising the layouts of specific categories and even individual discussions using CSS.
Something like this?
<body class="general-discussions discussion7856">
Then people could target anything on those pages using CSS. A basic example being:
body.general-discussions a{
color:red;
}
It wouldn't affect those people who didn't want to use it, so there's no down-sides to doing this! :)
You could go further and include a class of the username of the person who started the discussion, so you can give custom design features to certain accounts... tho that may be going too far!
thanks, Paul
Comments
You could append this via php or jquery
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
2 · 1Insightful 1Awesome LOL ·That sounds useful... how would I do it in PHP? I don't code PHP.
- Spam
- Abuse
1 · Insightful Awesome 1LOL ·I'm like your own personal genie today: https://github.com/vanillaforums/Garden/commit/01cccf365d9e7313f5d4a84b9d595be81d289b92
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
3 · 1Insightful 1Awesome 1LOL ·^ what he said, give him a smack on the back ;)
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
2 · Insightful Awesome 2LOL ·does he get 3 wishes after he rubs your back?
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
2 · Insightful Awesome 2LOL ·Thanks Lincoln!
- Spam
- Abuse
0 · Insightful Awesome LOL ·