Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Do themes change the admin interface?

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1662 Views
  • fogster
    Avatar
    Community Member
    4 Posts

    Do themes change the admin interface? Link to this post

    I uploaded a new couple of new themes, changed the one I'm using, and now the admin interface (backend) looks all wonky. Only subtly different, but things don't line up right and I have some white text on white backgrounds. Does this ring any bells? (If themes *do* apply to the admin interface, can I somehow configure them not to?)

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Do themes change the admin interface? Link to this post

    Hi there,

    No - this is a bug. Typically this is caused by themes which don't have namespaced CSS rules in the typography.css file.

    If you open up the offending theme typography.css file, there are probably CSS rules like h2 {} which should be more like .typography h2 { }.

    The idea is the CMS should ONLY pick up the theme styles for .typography CSS rules. If it picks up others, then it has the potential to break other styles, as .typography is only targeted towards the TinyMCE editor, so that you can match theme styles to the editable styles.

    Just out of interest, which theme(s) are having this problem?

    Cheers,
    Sean

  • fogster
    Avatar
    Community Member
    4 Posts

    Re: Do themes change the admin interface? Link to this post

    "Just out of interest, which theme(s) are having this problem?"

    The one I hacked together without understanding what the typography.css file was. O:-)

    Thanks for the help.

    Edit: how the @$%@# do you make linebreaks work? I had a post in the "Bugs (temp)" forum about the same thing.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Do themes change the admin interface? Link to this post

    There's some issue with the forum, it keeps on stripping out the line breaks for some reason. I think it's the formatting parser doing it. I'll see if anyone in the office knows about it.

    1662 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.