ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to style Entry & Preview in the CP?

February 28, 2011 5:21am

Subscribe [2]
  • #1 / Feb 28, 2011 5:21am

    Jan Paul

    74 posts

    Hi, on my website I have classes for my images (I apply them to the images in my entries).

    Problem is, those styles only exist on my website and not in the control panel.

    So the control panel displays my images un-styled.

    My question: can I add styles to the new/edit entry page, and preview page?
    And if so, how do I do this?

  • #2 / Feb 28, 2011 6:01am

    Neil Evans

    1403 posts

    what are you using? text field, wysiwyg editor, just the file upload? where is it to be styled?
    In short, if your using a WYSIWYG editor like WYGWAM yes you can apply style sheets to it and it will display as expected (within reason)

  • #3 / Feb 28, 2011 3:35pm

    Ingmar

    29245 posts

    In addition to that, what version and build of EE are you using?

  • #4 / Feb 28, 2011 5:14pm

    Jan Paul

    74 posts

    I’m using the Wyvern WYSIWYG editor.

    So far I’ve tried using the override.css file and this works for the entry preview.
    But it somehow messes up other parts of the CP interface, so I rolled that back.

    For the entry textarea my next to try item is editing Wyvern’s css files.
    I tried that already without success, but I gotta take some more time for that.

    I’m running EE 2.1.3.

  • #5 / Mar 01, 2011 6:22am

    Neil Evans

    1403 posts

    This is something you are going to have to discuss with the Wyvern people then - EE will not help you here!
    That being said, i know this can be done, as i do exactly what you ask in WYGWAM which also uses to the CKeditor wysiwyg editor. You should be able to specify a style sheet to use through the JS config for ckeditor - or just override its default one.
    I know WYGWAM provides an option for this, so i am pretty sure Wyvern will too.

  • #6 / Mar 01, 2011 4:28pm

    Ingmar

    29245 posts

    Thanks, nevsie. I agree, this does sound like an issue with Wyvern. Did you ask them for support?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases