![]() |
Images in category strips, different for each category.
What's the cleanest way to go about doing this? I'm sure I can accomplish it using a few conditionals in the actual background img call for the category strip itself, but that seems like a bit of a pain.
If someone's done this (and I've seen plenty that have) a better way, I'd love to know what it is. :) |
Bump because I'm going to try and do this the hard way this weekend. :)
|
try inline CSS
eg. background-image: url(images/gradient_tcat$foruminfo[forumid].gif) |
Dude you rock.
That CSS statement only applies to category strips, right? I notice that same image appears (for example) on my memberinfo tabs, but I can't recall if it's a manual edit I made myself that adds them there. |
you would have to manually add that to the "forumhome_" nopost template (this would overide any embedded or external CSS)
you can then create your own gradients per forumid gradient_tcat$foruminfo[forumid].gif gradient_tcat34.gif gradient_tcat5.gif you would of course have to create a conditional if you only want the gradient to change only for a few places |
All times are GMT. The time now is 02:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|