Go to file
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
css BUG: Fixed simple image styling for full-width images. 2012-06-29 15:30:32 +12:00
images MINOR javascript optimization, css, line endings, file modes... 2012-06-07 17:04:50 +02:00
javascript MINOR javascript optimization, css, line endings, file modes... 2012-06-07 17:04:50 +02:00
templates BUGFIX Using typography class, following theme conventions, and more importantly fixing editor alignment of images (fixes #7364) 2012-06-11 00:00:54 +02:00
webfonts MINOR javascript optimization, css, line endings, file modes... 2012-06-07 17:04:50 +02:00
.gitignore ENHANCEMENT: created styling for search field and search results - styled mobile site header - fixed issue with navigation overflowing when too many <li> 2012-04-04 17:52:54 +12:00
LICENSE MINOR Added license file 2012-03-28 22:36:34 +02:00
README.md MINOR javascript optimization, css, line endings, file modes... 2012-06-07 17:04:50 +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');