Content gadgets are the gadgets you use to add your own custom content. Within a content gadget, you can combine a variety of content, including:
You can format the text, using localized formatting or text styles, or use ArtText to create stylized text with special effects such as drop shadows.
You can link text and pictures to a page on your site or another site, and provide links to documents stored in your account or on another site.
You can layer and overlap content so that text can appear on top of a picture, for example. For this reason, content gadgets are perfect for creating page headers. You can also choose a background color or image for each content gadget.
You can insert a content gadget into a page onto your site, or into a page template so that all pages that use that template will automatically display the gadget. For instructions on inserting, moving, and deleting gadgets, see Gadgets.
For Casefile and Kaleidoscope themes, you can insert a headline gadget – a specialized content gadget – above a content gadget to act as its title or heading.
Editing the content
To edit the content of a content gadget while editing a site page or page template, position your pointer over the gadget then click anywhere within the gadget.
Content gadget settings
Using a content gadget’s settings, you can control its appearance, including its height, margins, background, and overall style.
For instructions on displaying gadget settings, see Gadgets.
The following settings are available for content gadgets:
The background color of the content area. To change the currently selected color, click it then click another color from the palette or enter the hex code for the color. To make the background transparent, so that the page background shows through, click the Set to transparent button.
If you choose a gadget style (below) that is not transparent, you may no longer see your background color. You can also set the background color for the layout or placeholder in which the gadget appears.
An image to be displayed as the background for the gadget. To choose a background image, click the Select button, or the Change button if a background image has already been applied. From the dialog that appears, you can choose from images in your theme’s library, or images from your account. After you have selected the background image, click Apply background to apply it. After you have applied a background image, you can control the horizontal and vertical alignment, and choose how your image appears within the available space. You can choose from the following Behavior options:
- Tile – the image will be repeated horizontally and vertically to completely fill the available space.
- No repeat or scaling – the image will displayed as is, and will be not be repeated or scaled.
- Repeat horizontally – the image will be repeated horizontally to fill the width of the available space.
- Repeat vertically – the image will be repeated vertically to fill the height of the available space.
- Fill – the image will be stretched to completely fill the available space, and may therefore appear distorted.
- Cover – the image will be proportionally resized to cover the available space, and may therefore be cropped.
- Scale by height – the image will be proportionally resized to fit the height of the available space. Depending on the dimensions of the space, the image may be cropped, or may not fill the entire width of the space.
- Scale by width – the image will be proportionally resized to fit the width of the available space. Depending on the dimensions of the space, the image may be cropped, or may not fill the entire height of the space.
To remove the existing background image, click the Remove link. If you apply both a background color and a background image, the background image will appear on top of the background color. If you choose a gadget style (below) that is not transparent, you may no longer see your background image. You can also set the background image for the layout or placeholder in which the gadget appears.
The height of the gadget. You can allow the height to be automatically set based on the content of the gadget or set it yourself to a fixed number of pixels. If you have added a background image, you can click Adjust height to background image to automatically adjust the height of the gadget to the height of the image.
The amount of space – in pixels – that appears between the content of the gadget and the outer limits of the gadget. You can set top, bottom, left, and right padding separately. If you have set a fixed height for the gadget, the bottom padding will be ignored. If you have specified a gadget title, the top padding will be applied between the title and the rest of the content.
The amount of space – in pixels – that appears outside the gadget. You can set top, bottom, left, and right margins separately.
Hide pictures in mobile view
(Terra and Firma themes) With this option enabled, pictures inserted within the content gadget are not displayed when the width of the browser window is 600 pixels or less. Background images will, however, continued to be displayed regardless of the browser window width.
If you specify a gadget title, the title will appear specially formatted within the gadget. Depending on the gadget style you choose, the title may appear in a heading box.
For Casefile and Kaleidoscope themes, use a Headline gadget instead of specifying a gadget title.
The gadget style determines the physical appearance of the gadget. The style you choose will determine the color and format of the gadget title, the gadget content, and the gadget border. You can choose from theme-specific styles and styles that are common to all themes. Depending on whether the gadget style you choose is transparent, you may no longer see your background color and background image. For Terra and Firma themes, the Opacity 60% style results in a semi-transparent gadget background.
Within the Advanced section, you can enter CSS code or classes to further control the appearance and behavior of the gadget. For more information, see Advanced gadget settings.
Placing a border around a content gadget
To place a border around a content gadget, follow these steps:
- Place your content gadget in a layout, if it doesn’t already appear in one. Use a one-column layout if your content gadget occupies the full width of the content area.
- Hover over the layout and click the Settings icon.
- From the layout’s settings, specify as the background color for column in which the content gadget appears to the color you want to use for the border.
- Set the Padding values to the width you want for the border.
- Go to the settings for the content gadget and set the background color to something other than transparent (like white, for example).
- Save your changes.
Some themes come with content gadget styles that display borders, with or without a heading block. You can select one of these styles within the Gadget style dropdown within the Settings panel for the content gadget.