DocPort Documentation


Jump to Section

The alert shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this:


Parameter Default Description
theme info primary,success, info,warning,danger,dark,light,secondary

Basic examples

	{{% alert primary %}}**this** is a primary{{% /alert %}}
	{{% alert theme="info" %}}**this** is a text{{% /alert %}}
	{{% alert theme="success" %}}**Yeahhh !** is a text{{% /alert %}}
	{{% alert theme="warning" %}}**Be carefull** is a text{{% /alert %}}
	{{% alert danger %}}**Beware !** is a text{{% /alert %}}
	{{% alert dark %}}**Dark !** is a dark{{% /alert %}}
	{{% alert light %}}**oooh !** is a light{{% /alert %}}
	{{% alert secondary %}}**Wait !** is a secondary{{% /alert %}}