![]() |
Font Colour Along With Replied Background Colour.
When reading threads on my board.. I would like the second post to have a different font colour and background then the 1st post..
so the 1st post would be 1 colour and font scheme.. then the 2nd would be a different scheme.. and the 3rd would be the same as the 1st.. and the 4th would be the same as the 2nd.. and so on. How do i change the font and back ground colour? Thank you! |
?..
|
:( help plea.se..
|
Well the posts background should alternate in color automatically.
NOT TESTED! For the font color go into functions.php and find this: PHP Code:
PHP Code:
Also you must create the {firsttextcolor} and {secondtextcolor} replacements ;) Let me know if it works ;) Regards - miSt |
I tried finding "functions.php" but apparently i am too dumb for even the smallest issues.
i dont know where it is.. i checked in myphpadmin... i looked in other places too but i couldnt find it. where is it? thanx |
Its a file. Its in your FTP
|
Hehe yes its a file located in your admin directory. Open it up and then do what i said :)
- miSt |
i went in there.. it looks like i could really screw something up bad. so i better not touch it.
but why does it require a hack just to change my font colour? there should be an option for that.. cuz this hacking stuff is too complicated. |
There is no option. It requires hacking. Sorry. :(
|
Indeed. Well if i had the time i would test this for you but i don't sorry :(
- miSt |
i changed this....
if ($counter%2==0) { $post[textcolor]="{firsttextcolor}"; $post[textclass] = "text1"; } else { $post[textcolor]="{secondtextcolor}"; $post[textclass] = "text2"; to.. if ($counter%2==0) { $post[textcolor]="{firsttextcolor}"; $post[textclass] = "text1"; } else { $post[textcolor]="silver"; $post[textclass] = "text2"; and it didnt work... i also need to change the second background colour as well... because i think if i change it using my admin feature... it will also change the colour on my main page as well.. but i only want just the background colour of the every second post column to be changed.. and my main forum page to remain with the colour it has now.. ...Thanx |
Thats a rediculous hack bro. sorry. :)
|
I said to place it below Mystic ;)
|
I did place it below... just like you said..
have i changed the correct place for silver? did i add that part right? |
All times are GMT. The time now is 02:45 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:
|