Jump to:

23471 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Why is content format coded into theme?

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: 327 Views
  • Loopy
    Community Member
    20 Posts

    Why is content format coded into theme? Link to this post

    Is there a theme with a css file that only controls the theme and not the content. By theme I mean background, container, header, menu and footer. There by leaving everything in the middle to the control of the author, i.e. tags <h1>, <h2>, <p> etc, font (style, size, weight etc), content padding, content margins, tables, images and so on?

    I have been playing around with SilverStripe for a couple of days now and my first impression was wow this is great. Modifying the theme is easy and straight forward and I felt that this could be perfect for a small site I am planning to build.

    I got the theme looking good then I tried to put some content on it. The wysiwyg editor doesn't do what it says on the tin. Investigation suggests that this is because content format is being controlled in the css files for the theme which is overiding the wysiwyg editor.

    This is a real disappointment for me because up to that point I felt that this was a light, easy to use cms that was capable of both small simple sites and larger more complex ones.

    It seems to be common practice on a lot of cms scripts to put code into the css files that impacts on content aswell as theme (skin). Classic examples are tags and images . I add an image but the editor wont let me add image border. No problem I can switch to HTML mode but that doesn't work either.

    Hope I am not being too dense.

  • Willr
    Forum Moderator
    5497 Posts

    Re: Why is content format coded into theme? Link to this post

    Depends on the theme you're using, BlackCandy (the current default) uses a typography.css between front end and backend to make it a little bit more consistent for authors.

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.