solved how to change default font

alt=
ICW
@icw
8 years ago
114 posts
How do I change the default font and font size on my jr site? Every page I create starts out with itty bitty font. We want new pages to look like our main page.

It would be great if you could add a couple of buttons to the WYSIWYG Editor (see attached from another site)

Reminder: I don't have a clue about code unless you give me very specific directions.

thanks!
Deb
updated by @icw: 06/15/16 06:26:36PM
michael
@michael
8 years ago
7,714 posts
"Font Family" is already there. The screenshot is taken from the UPDATE screen of a blog post.
alt=
ICW
@icw
8 years ago
114 posts
I see it in the blog... but I'm working with widgets in the site builder and don't see it.... Am I missing it somewhere?
updated by @icw: 02/18/16 02:04:46PM
alt=
ICW
@icw
8 years ago
114 posts
I still haven't seen the font family in the HTML editor when I set up or modify widgets.... Can that be added? Should I suggest that somewhere?
michael
@michael
8 years ago
7,714 posts
you can adjust the editor in:
/modules/jrSiteBuilder/templates/form_editor.tpl

ACP -> SITE -> SITE BUILDER -> TEMPLATES -> form_editor.tpl

To put whatever buttons you like in there.
alt=
ICW
@icw
8 years ago
114 posts
Oops! You've mistaken me for someone who knows how to code LOL
Strumelia
Strumelia
@strumelia
8 years ago
3,603 posts
I don't have SiteBuilder, but...if you can get into the form_editor.tpl via your ACP, then look for the lines near the bottom that start with "plugins:" and "toolbar1".

Here are some snippets that I have added to add more options to the font styling, and some other features buttons I (rather inelegantly) added to my text editor:
 
plugins: "contextmenu,pagebreak,{if $jrsmiley}jrsmiley,{/if}{if $jrembed}jrembed,media{/if},image,autoresize,{if $table}table,{/if}link,code,fullscreen,textcolor,colorpicker,preview{if $hr},hr{/if}",
toolbar1: "formatselect | fontselect fontsizeselect forecolor {if $strong} bold{/if}{if $em} italic{/if}{if $span} underline{/if} | {if $span || $div} alignleft{/if}{if $span || $div} aligncenter{/if}{if $span || $div} alignright{/if}{if $span || $div} alignjustify |{/if}{if $ul && $li} bullist numlist |{/if}{if $div} outdent indent |{/if} undo redo | link unlink anchor pagebreak{if $table} table{/if}{if $hr} hr{/if} | code preview fullscreen{if $jrembed || $jrsmiley} |{/if}{if $jrembed} jrembed{/if}{if $jrsmiley} jrsmiley{/if}",

-pay particular attention to the toolbar1 line where I have added:
"fontselect fontsizeselect forecolor"

add the above missing wording in where I have it in the toolbar1 line, and save changes. Be sure to check the checkbox to activate the change. See if it works ok for you, if not just click to reset the template the way it was before.

Note- I'm not sure that's going to set the "default font/size for the site" as you seem to be angling for in this thread though. But it may add the font options in the text editor that you are wanting.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 02/23/16 03:19:33PM
michael
@michael
8 years ago
7,714 posts
ICW:
Oops! You've mistaken me for someone who knows how to code LOL

This is setting a setting, not coding.

Go to:
ACP -> SITE -> SITE BUILDER -> TEMPLATES -> form_editor.tpl -> MODIFY

Where it says :
toolbar1: ["formatselect 
add the text 'formatselect' there to turn on that setting:
toolbar1: ["fontselect formatselect   

I see you have this as a suggestion:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/38287/suggestion-add-font-family-to-widgets-on-site-builder

But what do we do when the next person comes along with the suggestion to "remove the font option from the editor"

Jamroom is very customizable, but perhaps at the expense of simplicity.

--edit--
Then click SAVE.
Then click the TEMPLATE TAB
Then set to ACTIVE and save to make your modifications active.
updated by @michael: 02/25/16 08:01:55PM
alt=
ICW
@icw
8 years ago
114 posts
Yay Michael! That did it... now do you have similar instructions if I want to add font size to the editor?

Deb
updated by @icw: 03/01/16 02:54:29PM
Strumelia
Strumelia
@strumelia
8 years ago
3,603 posts
"fontselect fontsizeselect"


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
alt=
ICW
@icw
8 years ago
114 posts
and yet another genius weighs in... thanks Strumelia - that worked great! :-)