Page 1 of 1
[Solved] change font color view topic left

Posted:
Sun Oct 15, 2006 9:04 am
Author: zenrei
problably an easy one too...
I changed the user_occ field to be a personal message field that shows under everyone's posted topic info on the left.
how do i make it come up a different color?
right now, it's white, but i'd like to make it green.
Re: change font color view topic left

Posted:
Sun Oct 15, 2006 9:41 pm
Author: Frost
That is defined by a class and is global I believe, you could change it to a different color but there is no telling what else uses that class and would also be affected.
You could define your own class with whatever color you wanted and edit the code in the .tpl file.
I'll go look at it and get a more detailed description
Also..
If you wanted to play around with any of the colors the easiest way would be to take a screenshot of your site, open that screenshot in photoshop and use the eyedropper tool to get the hex code of the color, then open the .css file and do a find and experiment until you get the desired affect.

Posted:
Tue Oct 17, 2006 5:36 am
Author: zenrei
i was hoping for something more defininitive... like, which tpl?
it's something that shows up on the left, where the profile information is (name, online/offline, total posts, etc)
what tpl is that? I looked, but no dice. I don't believe it's global, because i was on another site (that is now down) that had it a different color.
Re: change font color view topic left

Posted:
Wed Oct 18, 2006 10:11 pm
Author: Frost
What I'm saying is it's defined by a class in your .css file. The .tpl file only states which class it's using from the .css file.
Here's something you could try...
1. Screenshot your site (or area you see the color you want to change)
2. Open said screenshot in something you can use an eyedropper tool to figure out the exact hex code ( the #000000 )
3. Open the .css file of whichever template you are using. Example: subSulver.css
4. do a "find" for that hex color you got.
5. You'll have to read the description above each place it finds the hex color to see if that's what you're after.
6. Once you find it you can make it whatever color you want, then save and upload the .css file.
Now.. the only problem with doing this is that there's no telling what else uses that perticular class so the color you changed to might show up other places also.
If you still need help, take the screenshot, and send it to me along with the .css file of your site and the color you want it changed to
Frost
Edit: Also i forgot to mention that you can provide a new class in the css that will make it the color you want without affecting anything else. I can walk you through this if you want just let me know.

Posted:
Thu Oct 19, 2006 6:04 am
Author: zenrei
i know hex codes, i don't need to figure out what color i need to change it.
i need to know where the code is that controls the color for the answer to the profile field for occupation is.

Posted:
Sun Oct 22, 2006 6:51 am
Author: zenrei
where are the classes kept??
Re: change font color view topic left

Posted:
Sun Oct 22, 2006 9:28 pm
Author: Teelk
First you'll want to create a new CSS class in the .css file of your theme, located in your theme's folder. If your theme is fisubice, the .css file would be named fisubice.css. If you need more instruction about how to create a css class, try following the examples in the file, otherwise I can try to be more specific. You do this so that you can create a unique color/style for that particular font.
Then go to ACP>PCP>PCP Wizard and click Alter Page Display. Select phpBB>>View Topic>>Left from the dropdown menu and click select.
Look for the occupation field, which I believe is called user_occ. Then under the HTML Style column change class to the class you created in the css file.

Posted:
Wed Oct 25, 2006 9:18 pm
Author: zenrei
sweeeeeet!!
that was a lot easier than I expected!
Thank you!!!