Icon

Message

The message shortcode is another helpful tool for making some content stick out. It is great for putting up notices, warnings and other relevant information that you want to draw the user’s attention to. Using attributes you can change some properties of the display. If you don’t know what shortcodes are we recommend you read our article on How to Use Shortcodes. The parameters of this shortcode are:

background

The background color of the message. See the section above on using colors for what values you can add here.

color

The text color of the message. See the section above on using colors for what values you can add here.

radius

If you would like a rounded message you can set the radius here. By default it is set to ‘0px’. If you would like a subtle rounded corner use a small value like ‘3px’. if you want heavily rounded corners use something like ‘3px’. Don’t  forget to add the ‘px’ part!

Examples

[message]We are closed next week for technical reasons![/message]
We are closed next week for technical reasons! x
[message background='#79cddc' color='#ffffff']
<h1>Oh No!</h1>
We are closed next week for technical reasons![/message]

Oh No!

We are closed next week for technical reasons! x