YAFLogo

ajclark25
  • ajclark25
  • 58.4% (Neutral)
  • YAF Camper Topic Starter
9 years ago
How would one go about changing the default font size in the editor? Would that depend on which editor is being used?

Thanks!

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

How would one go about changing the default font size in the editor? Would that depend on which editor is being used?

Thanks!

Originally Posted by: ajclark25 

Yes it depends on the editor that is being used. If you want to change the size in the default editor then check theme.css of the theme you are using

.yafnet textarea {
	font-size: XXXX;
}

XXXX would be the size you want.

ajclark25
  • ajclark25
  • 58.4% (Neutral)
  • YAF Camper Topic Starter
9 years ago
A search for textarea in the theme.css we're using comes up with nothing. Should I just add these lines in that case?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

A search for textarea in the theme.css we're using comes up with nothing. Should I just add these lines in that case?

Originally Posted by: ajclark25 

Yes simply add it.

ajclark25
  • ajclark25
  • 58.4% (Neutral)
  • YAF Camper Topic Starter
9 years ago
Ok, that definitely changes the size of the font that's displayed in the editor screen but it's not saving the font size with the post. Once posted it shows up in the forum at the same size as before. What we're trying to do is have the default font size used by the editor "7" instead of the "5" its set to now (the numbers from the dropdown list in the font size selector on the editor toolbar).
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago
Well you can not do that directly in the editor, but you could change the default size of the content in posts via CSS

.yafnet div.postdiv {

font-size: XXX

}

ajclark25
  • ajclark25
  • 58.4% (Neutral)
  • YAF Camper Topic Starter
9 years ago
So we could set both to 140% to keep them in unison then?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

So we could set both to 140% to keep them in unison then?

Originally Posted by: ajclark25 

Yes