1
RSearcy
News preview -- black text on black background, need change to white text
  • 2006/12/14 3:27

  • RSearcy

  • Just popping in

  • Posts: 45

  • Since: 2004/3/2 2


I'm using News 1.44 (because I have no confidence, not even enough to try it on a test platform, in the new version 1.5 after reading some of the comments) and I've got a little problem that's been bugging one of the moderators at a site I work for.

http://www.robertsearcy.info/news.JPG

I asked a similar question about a similar problem in the CBB forum package, which was solved via a code addition in user.php.

Well, the News package is...well....different, needless to say. I've been going through submit.php and even tried some stuff with no avail.

How would I go about changing that preview text in that picture (link takes you to it) to show up white on the black background?

Thanks so much in advance!

2
irmtfan
Re: News preview -- black text on black background, need change to white text
  • 2006/12/14 4:40

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


use tbody tag to change the background color.
add to your theme style.css:
tbody{background:#FFFFFF;}

3
RSearcy
Re: News preview -- black text on black background, need change to white text
  • 2006/12/15 3:12

  • RSearcy

  • Just popping in

  • Posts: 45

  • Since: 2004/3/2 2


I posted that late last night, and I might have posted it in the wrong sense......(it's what I get for posting late at night when I'm flat out tired).

What I meant to say was.....

There's black text on a black background in that picture -- you can't see it because it's black on black.

How do I get *that* text to show up white on that black background?

Sorry about the confusion...thanks again for your help.

4
Bassman
Re: News preview -- black text on black background, need change to white text
  • 2006/12/15 3:55

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


In your style sheet for your theme you have
Quote:

.outer {background-color: #000000; width: 100%; color: #000000;}


You need to change color:#000000 to color:#FFFFFF .

5
RSearcy
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 17:15

  • RSearcy

  • Just popping in

  • Posts: 45

  • Since: 2004/3/2 2


Hey Bassman!

I tried that solution of yours. It works, except for one thing....

http://www.robertsearcy.info/blank-subject1.JPG
http://www.robertsearcy.info/blank-subject2.JPG

.....the subject titles are blank in the forums.

Your solution did what it needed to do....get the preview text visable in the forums and news. But it also made the subject lines unviewable unless you highlight 'em with your mouse.

How would I go about fixin' that?

Thanks.

(BTW, your site was one of the first I went to when we were looking for a theme for the then-under-development Xoops-ified Golden-Road.net -- we couldn't find a "golden"-enough theme, and I know nothing about CSSes to change colors and other elements necessary to produce a "golden" theme. However, the site owner of G-R, Marc, and I both liked your work on your themes. )

6
Bassman
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 20:51

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Thanks :)

BTW, did you get it fixed? Your site seems to be OK now.

7
RSearcy
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 21:00

  • RSearcy

  • Just popping in

  • Posts: 45

  • Since: 2004/3/2 2


Uhh....those pictures you see about the blank forum subjects are on the test site...

Test site: http://grfinal.robertsearcy.info

You probably went to the regular site, http://www.golden-road.net

(and I have to agree with most people that having a test platform separate from the live site is a real good idea)

8
Bassman
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 21:43

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Oh, I see.

Looks like you need to set a new color for links within the .outer td:

add:

.outer a {color: #000000;}

Suggest you get a good style sheet editor: Top Style Pro is what I use, there is also a free (lite) version available.

*edit: Scrap that, it's not a link. Sorry, i'll get back to you.

9
Bassman
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 22:02

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


OK try adding a color to .comTitle

.comTitle {font-weight: bold; margin-bottom: 2px;color:#000000;}

10
RSearcy
Re: News preview -- black text on black background, need change to white text
  • 2006/12/19 22:33

  • RSearcy

  • Just popping in

  • Posts: 45

  • Since: 2004/3/2 2


Thanks! It worked!

Login

Who's Online

148 user(s) are online (67 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

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

Latest GitHub Commits