Headings
Here are some examples of headings
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
<h1>H1 Heading</h1>
Heading with underline
To use the conventional module title underline, use the uk-module-title
style. To have a fancy module title, use the uk-module-title-alt
style. You can also highlight the first word of a title using the tm-primary-color
class. Example:
Module title
Alternative module title
Module title
Centered alternative module title
<h3 class="uk-module-title">Your title goes here</h3> <h3 class="uk-module-title"><span class="tm-primary-color">Module </span> title</h3> <h3 class="uk-module-title-alt">Your title goes here</h3> <div class="uk-text-center"> <h3 class="uk-module-title-alt">Your title goes here</h3> </div>
To add a rotating effect on text, use the tm-rotate-text
class. The leading text defines the static text, and the tm-word
class is used for each word that will be rotated.
We are
Professional. Creative. Passionate.
<div class="tm-rotate-text uk-flex"> <h2 class="uk-h3 uk-module-title tm-thin-font">We are</h2> <h2 class="uk-h3"> <span class="tm-word">Professional.</span> <span class="tm-word">Creative.</span> <span class="tm-word">Passionate.</span> </h2> </div>
Blocks
Blocks are distinct ways of enumarating points in paragraphs with numbers, dates or icons. For block-numbers, you can use any numbering or alphabetical format.
Block numbers
<div> <div class="tm-block-number uk-flex"> <span class="tm-block-left"></span> <span class="tm-block-digit">1</span> </div> <div class="tm-block-content uk-flex-item-1">your content here</div> </div>
Block Dates
To use the date block style create a paragraph in the following format
<div class="uk-flex uk-clearfix"> <div class="tm-block-time uk-flex-item-none"> <span class="tm-block-month">Jan</span> <span class="tm-block-digit">29</span> </div> <p class="tm-event-descr uk-flex-item-1">your content here</p> </div>
Block Icons
Creativity
Design
Strategy
<div class="uk-flex"> <div class="tm-block-icon uk-icon-7s-alarm"></div> <div>Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.</div> </div>
To view a list of available icons that you can use in block icons, click here.
Blockquotes
Blockquotes are a nice way to show some commentary or slogan accompanied by the author or name of the commenter. To create a standard blockquote, use the blockquote
element. Inline quotations can also be defined by using the <q> element
.
Blockquote example
Life is a series of natural and spontaneous changes. Don't resist them - that only creates sorrow. Let reality be reality. Let things flow naturally
<blockquote class="uk-clearfix"> <p>Your quote goes here</p> <span class="author">John Doe</span> </blockquote>
The testimonial
element adds an avatar and icon attribute to the native blockquote. avatar
attribute shows an image of the author by specifying a url to the image. icon
attribute is used to add a transparent icon that is positioned bottom left.
Testimonial example
Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.
Head of Sales, envato
<blockquote class="tm-testimonial uk-clearfix uk-text-left"><i class="quote-icon uk-icon-quote-left"></i> <p><img class="tm-testimonial-avatar uk-align-left uk-margin-top" src="images/demo/avatar/client-1-thumb.png" alt="John Doe" width="64" height="64">your quote goes here</p> <span class="author uk-margin-top">John Doe</span> <span class="jobtitle">Head of Sales, arrowthemes</span> </blockquote>
You can omit any of the parameters of testimonial (author, title) but not the 'avatar' parameter. If you'd like to use the testimonial without the avatar, use the blockquote element instead
Inline code
To define a short inline computer code use the <code>
element. For a larger code snippet use the code
element which defines preformatted text. It creates a new text block which preserves both spaces and line breaks.
[code].my-class { margin: 15px 0; padding: 10px; }[/code]
Lists
You can create an unordered list using the [list]
. The li element defines the list item.
Simple List
- List Item 1
- List Item 2
- List Item 3
<ul> <li>List Item 1</li> <li>List Item 2</li> <li>List Item 3</li> </ul>
You can create lists with different style variations. E.g Lists with alternative stripes, lists with icons etc.
Lists with stripes
- List Item 1
- List Item 2
- List Item 3
<ul class="uk-list uk-list-striped"> <li>List Item 1</li> <li>List Item 2</li> <li>List Item 3</li> </ul>
Lists with icons
Adding icons to your list, makes them even look more outstanding. Check out the entire collection of icon fonts that you can use with lists here
<ul class="uk-list list-icons> <li><i class="uk-icon-asterisk"></i>List Item 1</li> <li><i class="uk-icon-asterisk"></i>List Item 2</li> <li><i class="uk-icon-asterisk"></i>List Item 3</li> </ul>
Nested Lists
<ul class="uk-list list-icons"> <li><i class="uk-icon-caret-right"></i>list item 1</li> <li><i class="uk-icon-caret-right"></i>list item 2</li> <ul class="uk-list uk-nested-list"> <li><i class="uk-icon-caret-right"></i>list item 1</li> <li><i class="uk-icon-caret-right"></i>list item 2</li> </ul> <li><i class="uk-icon-caret-right"></i>list item 3</li> </ul>
Tags
Tags can be used to highlight keywords within your content. To create a tag, use the tag
element
Themeforest envato youtube action web design
<a class="tm-tag" href="#">Themeforest</a> <a class="tm-tag" href="#">envato</a> <a class="tm-tag" href="#">youtube</a>
Ratings
To create a rating review stars, use one of these rating classes:
Class | Description |
---|---|
uk-icon-star |
Show a full star icon |
uk-icon-star-half-o |
Show a half full star icon |
uk-icon-star-o |
Show an empty star |
<ul class="tm-rating"> <li><i class="uk-icon-star"></i></li> <li><i class="uk-icon-star"></i></li> <li><i class="uk-icon-star"></i></li> <li><i class="uk-icon-star"></i></li> <li><i class="uk-icon-star"></i></li> </ul>
Text level semantics
Element | Description |
---|---|
<a> |
Turn text into hypertext using the a element. |
<em> |
Emphasize text using the em element. |
<strong> |
Imply any extra importance using the strong element. |
<code> |
Define inline code snippets using the code element . |
<del> |
Mark document changes as deleted text using the |
<ins> |
Mark document changes as inserted text using the ins element. |
<mark> |
Highlight text with no semantic meaning using the mark element. |
<q> |
Define inline quotations using q element.insidea q element |
<abbr> |
Define an abbreviation using the abbr element with a title. |
<dfn> |
Define a definition term using the dfn element with a title. |
<small> |
De-emphasize text for small print using the small element. |
You can find more html tags and classes that you can use from here
Module Classes
Module Class | Description |
---|---|
uk-panel-box-primary |
Change the module background to have the primary background; You can specify the primary background from the customizer panel. |
uk-panel-box-secondary |
Change the module background to have the secondary background; You can specify the secondary background from the customizer panel. |
tm-primary-background |
Change an element's background to have the primary background; You can specify the primary background from the customizer panel. |
tm-secondary-background |
Change an element's background to have the secondary background; You can specify the secondary background from the customizer panel. |
tm-primary-color |
Change an element's font color to have the primary color; You can specify the primary color from the customizer panel. |
tm-overlay-primary |
Add a primary overlay |
tm-overlay-secondary |
Add a secondary overlay |
tm-overlay-slider |
Add an overlay similar to the slider overlay |
tm-secondary-color |
Change an element's font color to have the secondary color; You can specify the secondary background from the color customizer panel. |
tm-muted-background |
Set the module background to a light-grey muted background. |
tm-caps |
Set the module caption to be in capitalized words with letter spacing |
tm-small-caps |
Set the module caption to be in capitalized words with letter spacing and a small font |
tm-padding |
Add extra padding to an element |
tm-padding-small-sides |
Add small padding on the side |
tm-inner-padding-large |
Add a large padding to the inner container. Used in conjuction with modules that have a background image |
tm-padding-remove |
Remove all padding on an element |
tm-text-large |
Add this class to make the text large |
tm-text-xlarge |
Add this class to make the text extra large |
tm-border-bottom |
Add this class to an image to add a bottom border |
tm-thin-font |
Add this class to make the font weight thinner |