janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2012-08-09T05:21:55Z
REF: TinyMCE. How can post PREVIEW font size be increased?

Thanks!
Sponsor
tha_watcha
2012-08-09T11:57:14Z
Originally Posted by: janusz 

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

Thanks!



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}

UserPostedImage
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2012-08-09T14:44:55Z
Nice! Thanks!

One change in postmessage.ascx:

class="previewPostContent" 


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

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved