Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 02:42 am EST

Geeklog Forums

Background color for "No news to Display"


jlanda

Anonymous
I've been driving myself nuts for a few days on this one. I tried searching for the answer but alas, either the "thou shalt not find it" curse is on me or no one's brought it up.

I would like to change the background color of that message that says "No news to display." I changed the default theme's colors to reflect dark green with white text. That "no news" section is the ONLY one I haven't been able to change. I've done tons of changes to every gray/blue related color code to no avail. Everything else is perfect but that one window. I wouldn't really care except that with the white letters and gray background, it's hard to see.

Any ideas? It's not a huge deal, but it's one of those compulsively annoying things when you know everything else is right except ONE thing...

Thank you!!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If your theme is based off of the Professional theme, then you should find this line in your theme's functions.php file:
Text Formatted Code
$_BLOCK_TEMPLATE['_msg_block'] = 'blockheader-message.thtml,blockfooter-message.thtml';
 

This tells Geeklog to use these two template files for messages, such as the "no news to display", but also every other message (e.g. on logout).

And if you don't have that line, add it. You can make up names for two new template files and add them there and Geeklog will use them for the messages.

bye, Dirk
 Quote

jlanda

Anonymous
Awesome! Thanks!
 Quote

All times are EST. The time is now 02:42 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content