Haim
Registered
- Thread starter
- #1
Hi. In this short tutorial, I will describe how to set the default font name and size (and optionally color) in CKEditor on IPS Community Suite.
To set the default font, log in to ACP and go to the Appearance tab, then Themes.
Edit the HTML and CSS of your theme and paste the following JS before the closing </body> tag.
After applying the above code, the default font in CKEditor will be Georgia, with a size of 20 pixels, colored red.
To remove text coloring, remove the color:#27ae60 value from the above code.
The original content of the guide:
invisioncommunity.com
To remove text coloring, remove the color:#27ae60 value from the above code.
The original content of the guide:
invisioncommunity.com
To set the default font, log in to ACP and go to the Appearance tab, then Themes.
Edit the HTML and CSS of your theme and paste the following JS before the closing </body> tag.
JavaScript:
<script>
if(typeof CKEDITOR !='undefined'){
CKEDITOR.addCss(".cke_editable{cursor:text; font-size: 20px; font-family: Georgia; color:#27ae60 !important}");
CKEDITOR.config.font_defaultLabel='Georgia';
CKEDITOR.config.fontSize_defaultLabel='20px';
}
</script>
To remove text coloring, remove the color:#27ae60 value from the above code.
The original content of the guide:

Default font and text size
Please move this topic in corect section Can the default font and text size of the CKEditor text box be changed? Tell me how it will happen?? I want to change the CKEditor default font and size in my forum. My forum is hosted on self hosting.Please advise me

The original content of the guide:

Default font and text size
Please move this topic in corect section Can the default font and text size of the CKEditor text box be changed? Tell me how it will happen?? I want to change the CKEditor default font and size in my forum. My forum is hosted on self hosting.Please advise me
