1. Home
  2. Docs
  3. Bootstrap Visuals for Confluence Manual
  4. User Guide
  5. Badge

Badge

Screenshot

Description

The Badge looks much like a lozenge. You can define different styles and sizes and also combine it with a Heading or a Bootstrap button.

Adding the Macro

Edit your page.

Select “+” => Other macros

Type in “Bootstrap” in the Search box

Select the “Bootstrap Badge” macro

Macro Options

Text

Enter the text of the badge.

Style

Select one of the Bootstrap color styles.

Type

Select “Badge” or “Pill”. The pill will have more rounded corners.

Size

Enter the size of the badge in percent. The default size is 75%.

Display as

Select whether to make the Badge part of a Heading or a Bootstrap Button.

If you select a Heading and also use a plugin or macro that reads out the headings of your page, this heading will be included!

Prefix

If part of a Heading or Button, enter the prefix text here.

Button style

If part of a Button, select the button style here.

Button link

If part of a Button, you can link the button to a URL. Enter it here and include http:// or https://.

Target

Select where to load the linked page, in the same window or in a new tab.

Custom Text Color

You can overwriite the Bootstrap text color here that is defined by the style you selected. You can enter any hexadecimal color vlaue here, preceded by a hash, e.g. #990000.

Custom Background Color

You can overwriite the Bootstrap background color here that is defined by the style you selected. You can enter any hexadecimal color vlaue here, preceded by a hash, e.g. #990000.

 

Was this article helpful to you? Yes No 1

Leave a Reply

Your email address will not be published. Required fields are marked *