Quote:
Originally Posted by tbworld
Post a couple of lines of template code where you are inserting class 'style'.
It probably is not a problem, but I would stay away from using "style" as a CSS selector.
|
I used this codes on af_articlebit in the article forum mod. I don't know if I did the right thing or not, but possibly the location where I used it is not correct, maybe.
ok, assume I'm a dump and know nothing, how and where can I insert this code? do I have to create a plugin or just insert the code somewhere in the headinclude template or somewhere else.
Thanks
--------------- Added [DATE]1379045978[/DATE] at [TIME]1379045978[/TIME] ---------------
Quote:
Originally Posted by Zachery
Just do individual statements, also, try using $GLOBALS[forumid]
|
Hi Zachery,
Thanks for the comments. however, do you mean like this:
PHP Code:
<vb:if condition="$GLOBALS[forumid] == 140">
<style type="text/css">
.style {background: #ff0000; color:#fff}
</style>
</vb:if>
should I insert that in any template or headinclude template... I'm using the forum article by the way.
Thanks