Adding style options to default "Content" block
Permalink 1 user found helpful
The default Content block that comes with Concrete5 has a "styles" option. Presumably this means you can apply a particular preset style to certain parts of text you enter into the WYSIWYG editor, in the same way that you can apply different font options. Can someone explain concisely how to add style options to this?
Thanks,
Jeremy
Thanks,
Jeremy
New problem - got the styles added to the drop-down, and they show up properly in the WYSIWYG editor, but do not show up on the page itself after clicking "Update." Even when I view the source, the style class is set properly around the text. Yet it won't show up visually on the page. Any idea what's overriding it?
For anyone else having this issue, create a separate .css file called "typography.css" and drop in your theme's folder and upload it. Any styles you create here are now instantly accessible in the Content WYSIWIG editor.