Typography

Permalink
When adding or chaneging a block, the Text Editor apears. Now I wanna have pre-defined typografie under Styles.

How can I add this?

pixel
 
PassionForCreative replied on at Permalink Best Answer Reply
PassionForCreative
Hi,

I had this problem last week & found a solution here somewhere. Basically what you need to do is have a typography.css file in the theme folder, but not in a CSS folder.

The text editor will pick up any styles that you define in this typography file only if it is in the same directory as the view.php, default.php etc. files.

Hope that helps.
pixel replied on at Permalink Reply
pixel
Thanks, that works fine.
But in that folder I don't see 'vieuw.php'?
PassionForCreative replied on at Permalink Reply
PassionForCreative
You should have a view.php file in your theme to display single pages. It's basically the same as your default.php file but instead of a C5 editable area in it you need to have this code:

<?php 
                print $innerContent;
                ?>


If my earlier message worked for you would you mind Marking it as Best Answer?