Loading...

Content boxes View all kinds of Content boxes examples below.

Content boxes

Content boxes are used to better organize your content and provide a visual consistency to your app.

Basic structure

Below, you will find the basic structure needed to create a content box.

content box title

Content box body content.

Title background colors

Change the content box title background ( .content-box-header ) by adding to it one of the color CSS helper classes listed below.

Common styles

Framework inherited

The core color helpers can be applied to all kind of elements from buttons to icons, headers, headings, etc. They do not change when you switch to a different theme from the same template.

Theme inherited

These are the template default color schemes and are used site wide to consistently style common elements. For the primary color you must add .bg-primary and for the secondary color you must add .ui-state-default. Note that theme two styles change based on what color scheme you choose for your template.

Header with .bg-primary

This content boxes has the header with .bg-primary class.

Header with .bg-purple

This content boxes has the header with .bg-purple class.

Header with .bg-yellow

This content boxes has the header with .bg-yellow class.

Header with .bg-blue

This content boxes has the header with .bg-blue class.

Header with white background

This content boxes has the header with .bg-white class.

Header with .bg-black

This content boxes has the header with .bg-black class.

Header with .bg-black

This content boxes has the header with .bg-black class.

Header with .bg-blue-alt

This content boxes has the header with .bg-blue-alt class.

Alternate header

Use the example below to create a content box with a two-line header title.

Content title Example header title description

This content boxes has the header with .bg-default class.

Header icons

You can add icons to the content box header titles using the FontAwesome icons. For example to add a cog icon next to the title you need to use the following code <i class="glyph-icon icon-cog"></i>

Content title

This content boxes has the header with .bg-default class.

Content title

This content boxes has the header with .bg-primary class.

Content title Example header title description

This content boxes has the header with .bg-default class.

Icons separator

To create a separator for the header title icon you need to wrap it inside an element with the .icon-separator CSS class.

Content title

This content boxes has the header with .bg-default class.

Content title

This content boxes has the header with .bg-primary class.

Content title Example header title description

This content boxes has the header with .bg-default class.

Header buttons

You have the option to insert single buttons in the content boxes headers using the default button markup.

Content title

This content boxes has the header with .bg-default class.

Content title

This content boxes has the header with .bg-default class.

Content title Example header title description

This content boxes has the header with .bg-default class.

Content title

This content boxes has the header with .bg-primary class.

Content title Example header title description Link Small

This content boxes has the header with .bg-blue class.

Header button groups

You can also include button groups in the content box headers using the markup below.

Content title

This content boxes has the header with .bg-white class and .bg-black for the content wrapper.

Content title

This content boxes has the header with .bg-white class and .bg-black-alt for the content wrapper.

Separated buttons

The separated buttons have a lighter background color than the content box header.

Content title

This content boxes has the header with .bg-default.

Content title

This content boxes has the header with .bg-primary.

Content title

This content boxes has the header with .bg-white.

Content title

This content boxes has the header with .bg-black.

Content title

This content boxes has the header with .bg-blue.

Content title

This content boxes has the header with .bg-black.

Badges & Labels

Context boxes header can also contain badges and/or labels.

Badges 42

Content box body content.

Badges 42

Content box body content.

Labels Primary label

Content box body content.

Badges 5

Content box body content.

Labels Label info

Content box body content.

Badges 89

Content box body content.

Label success Badges

Content box body content.

Alternate style

To create a top border content box example, like the ones below, you need to add the following CSS helper classes to the .conten-box wrapper: .border-top and border-red. To achieve different border colors, replace "-red" with "-blue", "-blue-alt", "-green", "-orange", etc

Red border (Example description)

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

This content boxes has a red top border.

Green border (Example description)

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

This content boxes has a green top border.

Button panes

To create a footer button pane add a div with the .button-pane CSS class after the .content-box-wrapper element. To create a button pane above the content wrapper, move the .button-pane element above the .content-box-wrapper in the DOM add .button-pane-top CSS class to it.

Content title

This content boxes has the header with .bg-default class.

Content title Example header title description

This content boxes has the header with .bg-default class.

Boxes loading overlays

Add .refresh-button CSS class to the element that you want to trigger the content box loading overlay. You can control the overlay color using the data-theme="bg-green"> parameter. For lighter color data-theme parameter use data-style="light" and for darker ones, use data-style="dark". Opacity can be controlled using the data-opacity="80"> parameter. Accepted values are: 30, 60, 80, 100.

Content title

This content boxes has the header with .bg-default.

Content title

This content boxes has the header with .bg-default.

Toggle boxes

Add .toggle-button CSS class to the element that you want to trigger the content slide toggle.

Content title

This content boxes has the header with .bg-default.

Initially closed

Add .hide CSS class to the .content-box-wrapper element that you want to show on toggle trigger.

Content title

This content boxes has the header with .bg-default.

Hidden buttons

Add .hidden-button CSS class to the .content-box element to make the content box header elements that have the .label-hide CSS class, initially hidden and show them only on content box hover.

Content title

This content boxes has the header with .bg-black.

Closable boxes

Add .remove-button CSS class to the element that you want to trigger the content box remove. To control the animation used for the removal, use the data-animation="flipOutY" parameter. To learn more about the animation you can use, read the Animations documentation page.

Content title

This content boxes has the header with .bg-black.

Content title

This content boxes has the header with .bg-white.

Content title

This content boxes has the header with .bg-default.

Content title

This content boxes has the header with .bg-default.

Panels

Use the markup below to create content panels.

Basic panel example
Panel heading without title
Panel content

Panel title

Panel content
Panel content
Online
  • Grace Padilla

    On the other hand, we denounce...

  • Carl Gamble

    Dislike men who are so beguiled...

  • Michael Poole

    Of pleasure of the moment, so...

  • Bill Green

    That they cannot foresee the...

  • Cheryl Soucy

    Pain and trouble that are bound...

Idle
  • Jose Kramer

    Equal blame belongs to those...

  • Dan Garcia

    Weakness of will, which is same...

  • Edward Bridges

    These cases are perfectly simple...

Offline
  • Randy Herod

    In a free hour, when our power...

  • Patricia Bagley

    when nothing prevents our being...

Cloud status
Latest transfers
Tasks for today
Pending notifications New