Font colour in Forum Made Simple

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Font colour in Forum Made Simple

Post 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
Last edited by Graeme on Thu Dec 25, 2008 6:44 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Font colour in Forum Made Simple

Post 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...
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Re: Font colour in Forum Made Simple

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Font colour in Forum Made Simple

Post 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
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Re: Font colour in Forum Made Simple

Post 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; }
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Font colour in Forum Made Simple

Post by Nullig »

Try:

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

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Font colour in Forum Made Simple

Post by calguy1000 »

common solution for this is to wrap the template in a div, and style the inputs within that div.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Re: Font colour in Forum Made Simple

Post 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
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Re: - Font colour in Forum Made Simple

Post 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
Last edited by Graeme on Thu Dec 25, 2008 6:48 am, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”