youtheme_master_html_class

Dein Text...

Dein Text...

Typography

You can create some beautiful content by using some simple HTML elements. The Warp theme framework offers some neat styles for all HTML elements and a great set of CSS classes to style your content. Basic HTML is very easy to learn and this small guide shows you how to use all styles provided by the Warp framework.

Basic HTML Elements

Here is a short demonstration of text-level semanticts. The <p> element creates a new paragraph. It will have some space before and after itself. To turn your text into hypertext just use the <a> element.

Text-Level Semantics

You can emphasize text using the <em> element or to imply any extra importance the <strong> element. Highlight text with no semantic meaning using the <mark> element. Markup document changes like inserted or deleted text with the <del> element or <ins> element. To define an abbreviation use the <abbr> element and to define a definition term use the <dfn> element.

Short List with Links

  • YOOtheme - Premium Joomla Templates and WordPress Themes
  • Warp Framework - Fast and Slick Theme Framework
  • ZOO - Content Application Builder
  • Stock Icons - For Web and Print Projects

Quotations and Code

Inline quotations can be defined by using the <q> element.

The <blockquote> element defines a long quotation which also creates a new block by inserting white space before and after the blockquote element.

To define a short inline computer code use the <code> element. For a larger code snippet use the <pre> element which defines preformatted text. It creates a new text block which preserves both spaces and line breaks.

pre {
    margin: 15px 0;
    padding: 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    line-height: 18px;
    white-space: pre-wrap;
}
Use the <small> element for side comments and small print.

Useful CSS Classes

Here is a short demonstration of all style related CSS classes provided by the Warp framework.

Highlight Content

Drop caps are the first letter of a paragraph which are displayed bigger than the rest of the text. You can create a drop cap using the CSS class dropcap. To emphasize text with some small boxes use <em> element with the CSS class box.

This simple box is intended to group large parts of your content using the CSS class box-content.
This is a simple box to highlight some text using the CSS class box-note.
This is a simple box with useful information using the CSS class box-info.
This is a simple box with important notes and warnings using the CSS class box-warning.
This is a simple box with additional hints using the CSS class box-hint.
This is a simple box with download information using the CSS class box-download.

Use the CSS class dotted to create a dotted horizontal rule.


Tables

Create a zebra stripped table using using the CSS class zebra.

Table caption
Table HeadingTable HeadingTable Heading
Table Footer Table Footer Table Footer
Table Data Table Data Data Centered
Data Bold Table Data Data Centered
Table Data Table Data Data Centered

Definition Lists

Create a nice looking definition list separated with a line by using the CSS class separator.

Definition List
A definition list is a list of terms and corresponding definitions. To create a definition list use the <dl> element in conjunction with <dt> to define the definition term and <dd> to define the definition description.
Definition Term
This is a definition description.
Definition Term
This is a definition description.
This is another definition description.

Forms

Create a clearly arranged form layout with fieldset boxes using the CSS class box.

Form legend

List Line

Use the CSS class line to create this list style.

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

List Zebra

Use the CSS class zebra to create this list style.

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

List Check

Use the CSS class check to create this list style.

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

 

Theme Layout

This theme comes with the default Warp6 module layout. The blue module positions allow to choose a module layout which defines the module alignment and proportions: equal, double or stack. You can easily add your own module layouts. The two available sidebars, highlighted in red, can be switched to the left or right side and their widths can easily be set in the theme administration. For modules in the blue and red positions you can choose different module styles. Take a look at the module variations page to get an overview.

Module PositionsModule Positions
Module Layouts Module Layouts Colum LayoutsColumn Layouts

USAGE INSTRUCTIONS

Inserting "Tabs"

It is very easy to add tabs in your new articles or convert existing ones to a tabbed layout. Create a new article or edit an existing one. Start your first tab using the plugin tag "{tab=tab title here}" (without the quotes), write some text below that, then continue with the next tab using -again- the plugin tag format "{tab=other tab title here}" (without the quotes), then write the second tab's text and so on. When you finish the text of your last tab, simply "close" them all by adding the plugin tag "

" (without the quotes).

Check out this example, it's what you would write in your content item (notice the code written in bold letters):

This is some text above the tabs

{tab=first tab}
some text here
{tab=second tab}
some more text here
{tab=third tab}
some more text here and so on...


And some more text after the tabs!

Inserting "Sliders"

Adding sliders (accordions) to your content is as easy as with tabs. Then go to the articles manager and start a new article or edit an existing one. Start your first slide using the plugin string "{slider=slide title here}" (without the quotes), write some text below that, then "close" the slider by adding the plugin tag "{/slider}". We need to do that cause -unlike the tabs- sliders are essentially independent of each other (e.g. you could only have 1 slider alone). Continue with the next slider using -again- the plugin tag "{slider=other slide title here}" (without the quotes), then write the second slider's text, "close" it with the plugin tag "{/slider}", and so on.

Check out this example, it's what you would write in your article (notice the code written in bold letters):

This is some text above the slides

{slider=My first slider in Joomla!}
some text here
{/slider}
{slider=Joomla! is the best}
some more text here
{/slider}
{slider=Third one}
some more text here and so on...
{/slider}

And some more text after the slides!


IMPORTANT

Please note that we use the plugin tag "slider" above as it's the correct way to address this feature. The use of the "slide" tag (without the final "r" - used in older versions) is still compatible so you can just update to this newer version.

You can insert both "Tabs" and "Sliders" in your articles, K2 items, Virtuemart products etc. Additionally, you can mix tabs with sliders and vise versa but you can't have tabs within tabs or sliders within sliders (cause it's overkill and hell would break loose). So you can have tabs that include content within sliders or sliders that include tabbed content! Nice!