Jump to:

22997 Posts in 11853 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » typography.css impacts not visible

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1096 Views
  • tomklang
    Avatar
    Community Member
    6 Posts

    typography.css impacts not visible Link to this post

    Hi,

    just modified the typography.css file within my template folder to change the current formats in the backend WYSIWYG Editor. (Second Dropdown Menu).

    What reasons are there that prohibit any impact of this change?
    The description says changes are visible immediately...

    How can I add own Styles, that the user can then select? (the first Dropdown)

    Thanks
    tom

  • ChrisBryer
    Avatar
    Community Member
    95 Posts

    Re: typography.css impacts not visible Link to this post

    Theres a chance that the HtmlEditorConfig class doesnt know to load the css.. (this is a new feature as of 2.3.4 / 5, and has affected several people.

    take a look at this link:
    http://www.silverstripe.org/themes-2/show/278592#post278592

    you'll have to put this in your _config.php file:

    HtmlEditorConfig::get('cms')->setOption('content_css', 'cms/css/editor.css, themes/[yourTheme]/css/editor.css');

    if you have that base covered, try dumping your browsers cache and then open yoursite.com/admin?flush=all.

    -Chris

    1096 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.