Page 1 of 1

Font colour in Forum Made Simple

Posted: Wed Dec 24, 2008 4:23 am
by Graeme
Hi I  would like to know how to change the colour of the font in the subject box when posting a message in the Forum module.  At the moment the person who set the site up for me must have set the font colour to the same color as the background colour of the box.  Therefore it is almots impossible to read what has been typoed. It is fine once the message is posted but it is hard to see when you first enter the Subject. The FMS version is 0.9.0, CMS versio is 1.4.1 and FEU is 1.5.3

Re: Font colour in Forum Made Simple

Posted: Wed Dec 24, 2008 10:09 pm
by Dr.CSS
Most times if you look at the source for the rendered page you will see ID or class assigned to the things you want to change, use those in your CSS to make the changes you want...

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 12:29 am
by Graeme
Thanks Mark,

I have followed your suggestion and have isolated what I think is the piece of code that defines the subject box and text area....see below


Subject





But I am not sure where to change teh font colour.  I have seacrhed the CSS that are linked to teh forum but can't find mention of it.  Any further suggestions would be much appreciated.

BR

Graeme

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 12:35 am
by Nullig
In your stylesheet, you can add:

input {
color: black; <-- whatever color you want
}

Or, if there is already a style applied to input, change it to whatever you like.

Nullig

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 3:35 am
by Graeme
Hi Nullig,

I lived in Vancouver BC for a while and visited White Rock.  I live in NZ. Xmas day here now!
I tried your siggestions but no joy.  I suspect it is because I am not foing it right.  I have attached teh Forum Style sheet in the hope you can help.

#forum .forum_title{ font-weight:bold; }
#forum .forum_link{ font-size:.9em; }
#forum a.forum_link{ text-decoration:none; }
#forum form textarea{ border:1px inset #ddd; font-size:1.1em; background-color:#ddd; width:570px; height:450px; }

#forum table.forum_pagetable{ width:561px; margin:0; padding:0; border:0; }
table.forum_pagetable th,td{ padding:1px; }


.forum_head_table{ background-color:#cdc; }

.forum_head_icon{ width:22px; }
.forum_head_name{ width:82%; text-align:left; }
.forum_head_count{ width:14%; text-align:center; }
.forum_head_subject{ width:47%; text-align:right;color: black;}
.forum_head_views{ width:14%; text-align:center; }
.forum_head_info{ width:21%; text-align:center; }
.forum_head_topic{ font-weight:bold; }
.forum_head_reply{ text-align:right; }

.forum_icon{ vertical-align:top; }
.forum_name{ vertical-align:top; }
.forum_count{ text-align:center; vertical-align:top; }
.forum_subject{ vertical-align:top;}
.forum_views{text-align:center; vertical-align:top; }
.forum_info{ width:21%; font-size:.8em; text-align:center; vertical-align:top; }
.forum_content{ width:66%; vertical-align:top; }
.forum_edit{ width:13%; text-align:center; vertical-align:top; }
.forum_bodypost{ width:79%; vertical-align:top; }

#forum td.forum_alternate1{ background-color:#eed; }
#forum td.forum_alternate2{ background-color:#eef; }

.forum_pagination{ font-size:.9em; }
.forum_quote{ padding:0 7px; border:1px solid #000; background-color:#dce; }
.forum_center{ margin:0; padding:0; border:0; text-align:center; }

#forum a.reply_link{ font-size:.8em; text-decoration:none; }
#forum span.reply_link{ font-size:.8em; }

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 4:13 am
by Nullig
Try:

#forum form input {
color: black; <--- or whatever color you want it to be
}

Nullig

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 4:15 am
by calguy1000
common solution for this is to wrap the template in a div, and style the inputs within that div.

Re: Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 6:38 am
by Graeme
Hi Guys,

Thank you both. I have fixed it! I found the reference to the the forum in the another CSS (see below) that the FMS used and spotted the ref to #fff which I knew was white so changed it to black and it fixed it.


#forum #cntnt01moduleform_1 input {
  background-image: none !important;
  border:1px solid #DDD;
  background-color:#838383;

  color:black;
  height:25px;
}
#main img {
  none;
}

BR

Graeme

Re: - Font colour in Forum Made Simple

Posted: Thu Dec 25, 2008 6:44 am
by Graeme
Hi,

I had 3 issues I asked the prgrammer who set up the site to solve for me.  But she hasn't got around to it.  So with the hlep of this forum and a very steep learning curve I have set about solving them with your help. I have solved 2 of the 3 so far.  [ Font colur on the forum and how to setup rotating images eg Carousel]

However I dont think I have had any posts to my final question which relates to the subscription confirmation email for Newsletter Made Simple.  I get the confirmation email but when I hit the confirm subscription link in the email it takes me back to the home page but there is no confirmation message and the content on the home page (where the sign up panel is for the enwsletter) is not there.

Any thoughts on this one?

BR

Graeme