Help Contents
-
Documentation
-
1 Installation
-
2 Setup Guide
-
3 User Guide
-
4 Macro Reference Guide
-
4.1 Active Image
-
4.2 Add Class
-
4.3 Attachments List
-
4.4 Blog Link
-
4.5 Body Class
-
4.6 Clear
-
4.7 Cloak and Toggle Cloak
-
4.8 Comment
-
4.9 Cross Space Link
-
4.10 Disappear and Reveal Macros
-
4.11 Dynamic Image Map and Hot Spots
-
4.12 Full Width
-
4.13 New Window
-
4.14 Page Tree
-
4.15 Page Turners
-
4.16 Random Content
-
4.17 Restrict Based on Permissions
-
4.18 Rotate Images
-
4.19 Same Window
-
4.20 SEO Meta Description
-
4.21 SEO Title
-
4.22 Simple Children
-
4.23 Twitter Feed
-
4.24 Wrap
-
4.25 Zen Bin
-
4.26 Zen Colors
-
4.1 Active Image
-
5 RSS Feed Link
-
6 Branding Guide
-
1 Installation
Add and style an HTML div or span element to enhance the design of your page.
Wrap is new in Zen 5.0 and replaces the Zen Bin macro.
Sample
Using the Wrap Macro in Zen 5, a right-aligned h3 is wrapped in a div with the following settings: ID: #text-block, width: 240px, height: 60px, padding: 28px 0 34px 0, float: right, background: #E1EFE0, and border: 3px double #5BA2A7.

Parameters
Terms in bold are required
| Name | Default | Description |
|---|---|---|
| Element (Tag) | Choose a <div> or <span>. | |
| id (CSS attribute) | Add an id to the element. | |
| class (CSS attribute) | Adds additional CSS class names to the element. | |
| width (CSS style) | Set the width of the element. Use CSS values, such as 200px or 25% | |
| height (CSS style) | Set the height of the element. Use CSS values, such as 200px | |
| margin (CSS style) | Set the margin around the outside of element’s border. Use CSS values, such as 24px or 6px 12px 6px 12px | |
| padding (CSS style) | Set the padding inside the element’s border. Use CSS values, such as 24px or 6px 12px 6px 12px | |
| float (CSS style) | Choose right or left to make the element float in its container, taking up only the horizontal space it needs. | |
| clear (CSS style) | Choose both, left, or right to make the element vertically clear other floating elements. | |
| background (CSS style) | Set the background of the element. | |
| background-color (CSS style) | The CSS color for the background, such as blue or #F0F0F0 | |
| background-image (CSS style) | The filename of an image attached to this page to use for the background image. | |
| background-position (CSS style) | Set the background image position. Use CSS values, such as 50% 50% or bottom right | |
| background-repeat (CSS style) | Set the background image repeat characteristics. Use CSS values, such as no-repeat or repeat-x | |
| border (CSS style) | Set the border for the element. Use CSS values, such as 3px dotted black |
Example
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam fermentum vestibulum est. Sed quis tortor.