Sam Minnee a9c64c423e BUG: Fixed simple image styling for full-width images.
The max-width 60% is a nice touch for left-aligned or right-aligned images, but it doesn't suit all images.  I've restricted the styling so that this is only applied to img.left and img.right images, which are the classes assigned by the CMS for left-aligned and right-aligned images.
2012-06-29 15:30:32 +12:00
2012-03-28 22:36:34 +02:00

Using the Simple theme

  • Copy the theme into the themes/ directory of your SilverStripe project. If you've named it correctly, there should be a directory called themes/simple/templates.

  • Add the following to your mysite/_config.php file. Remove any existing SSViewer::set_theme lines.

     SSViewer::set_theme("simple");
     HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
    
Description
No description provided
Readme 479 KiB
Languages
CSS 80.8%
Scheme 11.7%
JavaScript 7.5%