Remember me? forgot password | register

SilverStripe Forum

10691 Posts in 2798 Topics by 1519 members

Jump to:

Site Builders

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Site Builders » Do themes change the admin interface?
Page: 1 go to end Reply
Author Topic: Do themes change the admin interface? 688 views
  • fogster
    fogster's 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
    Core Development Team
    435 posts
    1 SilverStripe Site 1 SilverStripe Theme

    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

    Last edited: 7 June 2008 at 4:57pm

  • fogster
    fogster's 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.

    Last edited: 8 June 2008 at 7:37am

  • Sean
    avatar
    Core Development Team
    435 posts
    1 SilverStripe Site 1 SilverStripe Theme

    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.

    688 views
go to top Reply

Currently Online:

François, Matt Hardwick, patrics

Welcome to our latest member: patrics