1
rcjohnson
Change Font Color Of Category Headings
  • 2004/7/23 20:09

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


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.


2
lavaburst
Re: Change Font Color Of Category Headings
  • 2004/7/23 20:26

  • lavaburst

  • Just popping in

  • Posts: 77

  • Since: 2004/6/13


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

3
rcjohnson
Re: Change Font Color Of Category Headings
  • 2004/7/23 20:28

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


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.


4
lavaburst
Re: Change Font Color Of Category Headings
  • 2004/7/23 20:32

  • lavaburst

  • Just popping in

  • Posts: 77

  • Since: 2004/6/13


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

_Dan

5
rcjohnson
Re: Change Font Color Of Category Headings
  • 2004/7/23 21:22

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


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

6
lavaburst
Re: Change Font Color Of Category Headings
  • 2004/7/23 21:43

  • lavaburst

  • Just popping in

  • Posts: 77

  • Since: 2004/6/13


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

Login

Who's Online

165 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits