Using Typography
Every RocketTheme template is accompanied by custom content styles known as Typography. This guide outlines how to use Typography in your content.
Typography - RokCandy Mode
All the typography in the template is using RokCandy syntax which is outlined at the RokCandy Examples page. In this guide, we will use the Attention Span Style, which uses the [div class="attention" class2="typo-icon"]...[/div] syntax.
- 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" class2="typo-icon"] .... some content .... [/div]
- Save
As RokCandy is not affected by the stripping functions of the WYSIWYG editor, you can insert the RokCandy snippets without any issue. If you are in HTML mode, the snippets will still function.
Typography - HTML Mode
Every RokCandy typographical element can be used in its HTML form as outlined at the HTML Examples page. HTML typography allows for more custom control in the article but requires an additional step. 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
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.
Bev's Blog- Latest Posts
-
6 PRINCIPLES of Creating a BRAND…Part 3 on CLARITY continuedHow do we make our ideas, our brand, clear to the public? We must speak in more concrete terms. In order to do this, we...
-
6 PRINCIPLES of Creating a BRAND…Part 3We will be halfway through this series with this post, so I hope this topic is helpful and causes you to be more strategic in...




