YAFLogo

janusz
  • janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
12 years ago
REF: TinyMCE. How can post PREVIEW font size be increased?

Thanks!

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

REF: TinyMCE. How can post PREVIEW font size be increased?

Thanks!

Originally Posted by: janusz 

Currently there is no way. You need to add an css Class to the content..

edit the file pages/postmessage.ascx

change the code from..

<td id="PreviewCell" runat="server" class="post" valign="top">
			<YAF:MessagePost ID="PreviewMessagePost" runat="server" />
		</td>

to...

<td id="PreviewCell" runat="server" class="post previewPostContent" valign="top">
			<YAF:MessagePost ID="PreviewMessagePost" runat="server" />
		</td>

then you can simply set the font size in the default css file in resources/css/forum.css ...

.yafnet .previewPostContent { font-size:value of your choice}
janusz
  • janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
12 years ago
Nice! Thanks!

One change in postmessage.ascx:


class="previewPostContent" 

Now editor, preview, and post all display the same font size!