MyBB Community Forums

Full Version: How to change editor default font
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,

How can i change the default option for editor text to be as the image below 
[attachment=40775]

i want when the editor start the text align center , font size = 5  and font color = Blue.
Check

jscripts/sceditor/editor_themes/mybb.css
(2018-09-01, 08:25 PM)eskandrany Wrote: [ -> ]Hi,

How can i change the default option for editor text to be as the image below 


i want when the editor start the text align center , font size = 5  and font color = Blue.

Do you want to force ALL users to use this default setting?

What if the users don't like this?
(2018-09-02, 02:25 AM)Serpius Wrote: [ -> ]Do you want to force ALL users to use this default setting?

What if the users don't like this?

yes for all users, if the user don't like that he can change that from toolbar as normal
Not solved till now
Hi,

Open jscripts/sceditor/textarea_styles/jquery.sceditor.mybb.css file and edit:
html, body, p, code:before, table {
	margin: 0;
	padding: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 14px;
	color: #333;
}


Change the font-family and the color to whatever you want.
(2018-09-05, 05:05 PM)NoRules Wrote: [ -> ]Hi,

Open jscripts/sceditor/textarea_styles/jquery.sceditor.mybb.css file and edit:
html, body, p, code:before, table {
	margin: 0;
	padding: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 14px;
	color: #333;
}


Change the font-family and the color to whatever you want.



sorry Not sloved its changed when typing the post but after i click post thread its return to  old  default settings .
 
[attachment=40804]

[attachment=40805]
i think its easy for profisional programmers or is no way to change default editor settings.
Hi again,

I miss your last answer, oops.

To change the font, color, whatever in a made post, go to Admin Control Panel > Themes and Templates > Your Theme > global.css and in "Expert Mode" find:

.post_body {
    font-size: 14px;
    padding: 12px 0;
}

And add inside whatever effect you want.

Save it and remember to press Ctrl+F5 to clear cache and see the changes in your browser.
(2018-09-11, 03:34 PM)NoRules Wrote: [ -> ]
.post_body {
    font-size: 14px;
    padding: 12px 0;
}

And add inside whatever effect you want.

Save it and remember to press Ctrl+F5 to clear cache and see the changes in your browser.

Hello its working but the problem now the members can't use right or left align , yes i want the default is center align but in the same time the members can change it right or left if them want that.
Pages: 1 2 3