Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Font colors on dark backgrounds?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Font colors on dark backgrounds?

 Post Reply Post Reply
Author
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post Topic: Font colors on dark backgrounds?
    Posted: 24 October 2012 at 11:10am
Hi

Wondering how to change the black letters outside the main box like dates and time, so they will be white but remain black inside the forum box like name of contributor and the topic itself?
Back to Top
IanSmithISA View Drop Down
Groupie
Groupie


Joined: 21 October 2010
Location: Worcester
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanSmithISA Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2012 at 11:23am
good morning

I am not sure if I have understood you correctly, do you mean on these pages, in which you could try below, or do you mean on the forum topic summary pages.

in your style sheet change

.msgOddTableTop, .msgOddTableSide{
background-color: #2B2B2B;
font-size: 11px;
}


to

.msgOddTableTop{
background-color: #2B2B2B;
color:white;
font-size: 11px;
}

.msgOddTableSide{
background-color: #2B2B2B;
font-size: 11px;
}


bye

Ian
Why does anyone need more than an 80x25 character only VDU?
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2012 at 12:11pm



They highlighted groups has the same color in CSS and do you make it white, then nothing is seen in the forums. Do you make it black ,then everything is fine on the forums, but not the date/time when background is dark.
Back to Top
IanSmithISA View Drop Down
Groupie
Groupie


Joined: 21 October 2010
Location: Worcester
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanSmithISA Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2012 at 1:29pm
Good afternoon,

The specific item you mention is in default.asp, at about line 475

  <td class="smText"><% = strTxtTheTimeNowIs & " " & TimeFormat(now()) %><br /><%


Note the use of the style smText, however smText is used in many other places.

So you will need to create a new style, copied from smText and then experiment with you own forum's background to see where you can leave smText and where you need to use your new style.

If you don't have much in the way of development tools you can open a cmd window, cd the folder for the source files and do

find "smText" *.asp.

The slight problem you have is that when you upgrade your forum you will have to put these changes back. 

On my forum I have just commented this lines out as I didn't want this information displayed.

Bye 

Ian
Why does anyone need more than an 80x25 character only VDU?
Back to Top
IanSmithISA View Drop Down
Groupie
Groupie


Joined: 21 October 2010
Location: Worcester
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanSmithISA Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2012 at 1:32pm
Originally posted by IanSmithISA IanSmithISA wrote:

Good afternoon,

The specific item you mention is in default.asp, at about line 475

  <td class="smText"><% = strTxtTheTimeNowIs & " " & TimeFormat(now()) %><br /><%


Note the use of the style smText, however smText is used in many other places.

So you will need to create a new style, copied from smText and then experiment with your own forum's background to see where you can leave smText and where you need to use your new style.

If you don't have much in the way of development tools you can open a cmd window, cd the folder for the source files and do

find "smText" *.asp.

The slight problem you have is that when you upgrade your forum you will have to put these changes back. 

On my forum I have just commented this lines out as I didn't want this information displayed.

Bye 

Ian
Why does anyone need more than an 80x25 character only VDU?
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2012 at 1:34pm
Thx Ian Handshake
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.