12 April 2010
Using Typography
Super User
Published on 12 April 2010
Every RocketTheme template is accompanied by custom content styles known as Typography. This guide outlines how to use Typography in your content, as demoed on the Typography page.
In this guide, we will use the Attention Span Style, which uses the <div class="attention"><div class="typo-icon">...</div></div> syntax.
Content Editor
- Login to the Joomla administrator
- Go to Content → Article Manager; or, if you wish to use the syntax in custom modules, Go to Extensions → Module Manager
- Choose the Article, or Custom Module
- Click the HTML mode or equivalent in your editor
- Insert <div class="attention"><div class="typo-icon"> ... some content ... </div></div>
- Save
If you are using the TinyMCE editor, go to Extensions → Plugin Manager and select TinyMCE 2.0. Locate Code Clean-up on Save and select Never.
This prevents the stripping of HTML code from your content.
No Editor
- Login to the Joomla administrator
- Go to Content → Article Manager; or, if you wish to use the syntax in custom modules, Go to Extensions → Module Manager
- Choose the Article, or Custom Module
- Insert <div class="attention"><div class="typo-icon"> ... some content ... </div></div>
- Save
Note, with the Content Editor (WYSIWYG) enabled, you need to enter HTML mode otherwise the typography will not work. If you are running no editor, this is not the case as you are interacting with the content at a code level.