News:

Wondering if this will always be free?  See why free is better.

Main Menu

Change Post/Reply Box font size

Started by GK061490, March 08, 2012, 10:28:12 PM

Previous topic - Next topic

GK061490



Hello there. I'm having trouble changing the font size used in my forum's reply box. I just can't seem to pinpoint which code in the CSS controls it.

I've included my CSS with this post. I hope someone can help me out with this. X'D

Advanced Thanks!

Killer Possum

Hi GK061490, open editor.css in your theme and a font-size to the .editor class. But note, this does not work with the rich text editor as it displays actual font sizes to be used in the post.

GK061490

The theme I got doesn't have an editor.css

It only has index.css and rtl.css

Killer Possum

If that index.css is all your theme calls, you can still add my suggestion. Just instead of editor.css put it in the index.css.

GK061490

unfortunately, it doesn't seem to work. T_T

Killer Possum

Have you taken a look at the entire index.css file? It could be setting the size elsewhere. Also are you sure you're not looking at the rich text editor?

GK061490

Yes I have.

I believe this line is what's controlling the input size:

input, button, select, textarea
{
   font: 95%/115% verdana, Helvetica, sans-serif;
   color: #000000;
   background: #FFFFFF;
   border: 1px solid #4D423C;
   padding: 2px;
}

I'm thinking it's the textarea but whenever I try to change it, I don't see any difference.

Marcus Forsberg

.editor
{
font-size: 20pt;
}


That worked for me. But as KP noted, if a user switches to WYSIWYG, this change will have no effect whatsoever.

Killer Possum

You'll have to turn off the WYSIWYG if you want to always have the increased font size. The WYSIWYG is just that, it shows the font size your post will be in.

Advertisement: