xoops forums

rcjohnson

Not too shy to talk
Posted on: 2004/7/23 20:09
rcjohnson
rcjohnson (Show more)
Not too shy to talk
Posts: 187
Since: 2004/7/23
#1

Change Font Color Of Category Headings

greetings Power users. Well, Im hooked on XOOPS! This was the last content management system I demo'd...and BOY do i LOVE IT.

Anyhow, Im sure this is very simple, and Im just missing it. Id like to change the Font Color of my Category headings in my forum. Its a dull kinda brownish grey right now.

Which file are these settings in?

Thanks in advance for any response.

lavaburst

Just popping in
Posted on: 2004/7/23 20:26
lavaburst
lavaburst (Show more)
Just popping in
Posts: 77
Since: 2004/6/13
#2

Re: Change Font Color Of Category Headings

Hello!,

Im using the default template also on a few sites, and I have had to fix this problem since the default theme with xoops2.0.7 is broken right now in my opinion. (i guess they want you to install a new theme :) )


Heres one way to fix it:

Open /themes/default/style.css

Add this right after the TH style tag:
.onth {color: #ffffff;}

(save,upload)

then open /modules/newbb/templates/newbb_index.html


and about line 16: change this


<tr align="left" valign="top">
<
th colspan="6">
<
a href="<{$xoops_url}>/modules/newbb/index.php?cat=<{$categories[category].cat_id}>">
<{
$categories[category].cat_title}></a></th>
</
tr>


to this:

<tr align="left" valign="top">
<
th colspan="6">
<
class="onth" href="<{$xoops_url}>/modules/newbb/index.php?cat=<{$categories[category].cat_id}>">
<{
$categories[category].cat_title}></a></th>
</
tr>


notice I added class="onth" to the A tag

Then upload /modules/newbb/templates/newbb_index.html

Then go into Admin -> Modules -> newbb

and click on "Update"

You should see no errors.

Then go to your forum front and you should see the categories are visible (using White)


I hope that helps!

_Dan

rcjohnson

Not too shy to talk
Posted on: 2004/7/23 20:28
rcjohnson
rcjohnson (Show more)
Not too shy to talk
Posts: 187
Since: 2004/7/23
#3

Re: Change Font Color Of Category Headings

argh, what have I gotten myself into. The scary thing is, I've been looking at all this code for about 20 hours now...I think Im starting to understand portions of it.

Anyhow, thanks Dan, I'll give it a shot.

lavaburst

Just popping in
Posted on: 2004/7/23 20:32
lavaburst
lavaburst (Show more)
Just popping in
Posts: 77
Since: 2004/6/13
#4

Re: Change Font Color Of Category Headings

Yeah, Dark Grey text on Dark Blue background doesnt seem to show up very well for some reason :)

_Dan

rcjohnson

Not too shy to talk
Posted on: 2004/7/23 21:22
rcjohnson
rcjohnson (Show more)
Not too shy to talk
Posts: 187
Since: 2004/7/23
#5

Re: Change Font Color Of Category Headings

woohooo...it worked! Thank you. That is so much easier on the ole eyeballs.

Just one little prob though. After I updated, I lost the connection to all the forum images. They are all littel red "x's" now.

I looked for a way to fix it, but I have no idea what that little snipet did.

Ryan

lavaburst

Just popping in
Posted on: 2004/7/23 21:43
lavaburst
lavaburst (Show more)
Just popping in
Posts: 77
Since: 2004/6/13
#6

Re: Change Font Color Of Category Headings

well, that snippet, you should have just added the

class="onth"

and not copied it from here. (that gets messy)



but it shouldnt have affected anything else.

Something else must have happened.


I have done the same thing on a few sites... works great for me everytime.


I hope you can get it fixed... if you Private message me the link, i will look at it to see if i can spot anything.

_Dan