--- title: Create customized media with styled content description: Create banners, block/announcements, or videos using the styled content type to customize settings such as text color, text alignment, links, background colors, and images on Employee Center Pro. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/employee-service-management/employee-experience-foundation/ec-content-library-portal-styled.html release: australia product: Employee Experience Foundation classification: employee-experience-foundation topic_type: task last_updated: "2026-03-12" reading_time_minutes: 10 breadcrumb: [Portal content, Creating employee communications, Authoring and managing employee communications, Employee Center Pro, Unified Employee Experience, Employee Service Management] --- # Create customized media with styled content Create banners, block/announcements, or videos using the styled content type to customize settings such as text color, text alignment, links, background colors, and images on Employee Center Pro. ## Before you begin Role required: sn\_cd.content\_manager If you are creating video content, you must first upload the video: [Add or modify links to other content sources](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/ecpro-manage-link-content.md) ## About this task This content type offers three options: - Banner: appears at the top of the page \[Omitted image "ec-rich-text-content.png"\] Alt text: Banner containing header, heading, body text, and button content - Block: appears in a widget on the page \[Omitted image "ec-block-styled.png"\] Alt text: Block content containing heading, body, and a button - Video: can appear anywhere on a page, including at the top in place of a banner When creating or editing a banner using styled content, you can view and edit the background image rather than editing your image externally and then importing it. The Form Context menu \(\[Omitted image "ec-hamburger-menu.png"\] Alt text: Form Context menu\) at the top, left of the form provides the ability to quickly accomplish tasks when creating content. Select the icon and the following choices appear: - Clone: duplicate the content record. - Delete: remove the content record and associated scheduled content records. - View content record: access and view the content record. **Note:** You must save the underlying content record before the Form Context menu selections are activated. ## Procedure 1. Navigate to **Content Publishing** > **Content Library** > **Create New**. 2. Select **Portal** under the **Select the Platform** column. 3. Select **Styled content** under the **Choose a content format** section. 4. Select **Continue**. 5. Fill in the fields in the **New content** form.
Field Description
Content name The name that describes the content you are creating or editing.
Order The number that indicates the order in which the portal and styled content appears in the Content list.
Active Indicates the content is active and available for use.
Content style Identifies if your content is:- Banner - Block - Video
CONTENT
User reference table Determines the variables you can use to personalize text for the block content.Select **HR Profile** to select variables from the sn\_hr\_core\_profile table. **Note:** When the Human Resources Scoped App: Core \(com.sn\_hr\_core\) plugin is activated, only **HR Profile** appears. Select **User** to select variables from the sys\_user table.
Headline A title you want to appear for your content. This field is not required if you want your banner to show only a graphic. **Note:** This field only appears when the Content Experience widget is used.
Heading text Text that provides additional information or clarity to your headline.
Body text The detailed message you want to appear over the banner.
User column Together with the HR profile \[sn\_hr\_core\_profile\] table, filters users when evaluating a condition.This field only appears when you select **HR Profile** from the **User reference table** field.
Text color Indicates if you want the body text to appear dark or light.**Note:** For the Banner content style, both dark and light are supported. For Block content style, only light is supported if the **Text over background** field is active \(green\).
Text alignment Indicates how you want your text to appear. You can select left, center, or right justified.
Icon Determines if you want an icon to appear. Slide right to choose an icon.Only appears when you select **Block** from **Content style**.
Pick an icon Select the icon you want to appear.This field only appears when you turn the Icon field to green.
Icon size Indicates the size of your icon.This field only appears when you turn the Icon field to green. The recommended size for icons are: - Topic icon: 56 x 56px - Sub-topic icon: 28 x28px
Call to action Select if you want a button or link to appear.
Button title The text that appears over the button.This field only appears when you select **Button**.
Button link The link the user goes to when selecting the button.Select the down arrow to view a list of links. This field only appears when you turn the Icon field to green.
Link title The text that appears for the link.This field only appears when you select **Link**.
Link The link the user goes to when selecting the link.Select the down arrow to view a list of links. This field only appears when you select **Link**.
Video link The link to the video you want to appear on your portal.This field only appears when you select **Video** from **Content style**. **Note:** Only YouTube and Vimeo videos are supported at this time. Ensure you use the embedded video link.
BACKGROUND
Background Color The background color of the banner or block text. To define the color, you can use:- Hex color codes **Note:** For a list of hex color codes see [Hex color codes](https://www.color-hex.com/). - CSS color value and includes keywords, name, RGB decimal, or RGB hex number of the color. **Note:** For more information, see [HTML Color Names \(W3CSchools\)](https://www.w3schools.com/tags/ref_colornames.asp).
Background image Indicates that you want an image to appear as the background. Slide right to display additional image fields.
Image file \[Upload an image\] Select the link to add an image.This field only appears when you activate **Background image**. The recommended size for banners are: - Home page banner: 1440 x 400px - Topic page: 1258 x 300px
\[Omitted image "ec-edit-image-button.png"\] Alt text: Edit image button Allows you to edit your background image within the Content Library module.This field only appears after you upload a background image. A crop box appears over the image in the Image Editor Mode form. You can use the crop box by dragging the edges in or out to indicate what part of your image you want to display. After opening the image editor, the default mode is crop. When you upload and edit a .svg file, it is saved as a .png file. **Note:** .gif files are not supported. The following icons and buttons appear to help edit your image: \[Omitted image "ec-image-editor-icons.png"\] Alt text: Edit image icons Each icon allows you to edit the image you imported: - Reset to original \[Omitted image "ec-reset-orig-icon.png"\] Alt text: Reset to original icon - Activates after you make edits to your image. - Select and the **Reset to original?** pop-up appears. Select the **Reset image** button to back out any edits you made to your image. **Note:** After you select **Save**, you can no longer reset your image. You must upload the image again if you are not satisfied with your edits. - If you do not want to keep your edits, select **Cancel**. - Move image mode \[Omitted image "ec-drag-move-icon.png"\] Alt text: Move image mode icon - Select your image in any place outside of the crop box and with your mouse, move your image. - Use the points to resize the image. - Press and hold your mouse to move the crop box. - Crop image mode \[Omitted image "ec-crop-icon.png"\] Alt text: Crop image mode icon - Select and your cursor is set to crop. - Create a new crop box by holding and dragging your cursor. - Hold and press your mouse to move the crop box. - Resize the crop box using the points. - Zoom in \[Omitted image "ec-zoom-in-icon.png"\] Alt text: Zoom in icon - Click to make the image larger and closer. - Continue clicking to incrementally zoom in on the image. - Zoom out \[Omitted image "ec-zoom-out-icon.png"\] Alt text: Zoom out icon - Click to make the image smaller and farther away. - Continue clicking to incrementally zoom out on the image. - Move left 10 pixels \[Omitted image "ec-move-left-icon.png"\] Alt text: Move icon - Click to move the image to the left by 10 pixels. - Continue clicking to move the image to the left in 10 pixel increments. - Move right 10 pixels \[Omitted image "ec-move-right-icon.png"\] Alt text: Move icon - Click to move the image to the right by 10 pixels. - Continue clicking to move the image to the right in 10 pixel increments. - Move up 10 pixels \[Omitted image "ec-move-up-icon.png"\] Alt text: Move up icon - Click to move the image up by 10 pixels. - Continue clicking to move the image up in 10 pixel increments. - Move down 10 pixels \[Omitted image "ec-move-down-icon.png"\] Alt text: Move down icon - Click to move the image down. - Continue clicking to move the image down in 10 pixel increments. - Rotate left 45 degrees \[Omitted image "ec-rotate-left-icon.png"\] Alt text: Rotate icon - Click to rotate the image 45 degrees counter clockwise. - Continue clicking to rotate the image counter clockwise in 45 degree increments. - Rotate right 45 degrees \[Omitted image "ec-rotate-right-icon.png"\] Alt text: Rotate icon - Click to rotate the image 45 degrees clockwise. - Continue clicking to rotate the image clockwise in 45 degree increments. - Crop-short rectangle \[Omitted image "ec-crop-short-rectangle-icon.png"\] Alt text: Crop-short rectangle icon - Click to change the crop tool to a short rectangle shape. - Use the square points of the rectangle to further crop your image. - Crop-tall rectangle \[Omitted image "ec-crop-tall-rectangle-icon.png"\] Alt text: Crop-tall rectangle icon - Click to change the crop tool to a tall rectangle shape. - Use the square points of the rectangle to further crop your image. - Crop-square \[Omitted image "ec-crop-square-icon.png"\] Alt text: Crop-square icon - Click to change the crop tool to a square shape. - Use the square points of the square to further crop your image. - Custom \[Omitted image "ec-custom-crop-rotate-icon.png"\] Alt text: Custom crop and rotate - Click to display the **Detail Editing** pop-up. - You can define the size of the crop tool and the size of your image by pixels. - You can also specify the angle you want your image rotated. - Preview \[Omitted image "ec-preview-icon.png"\] Alt text: Preview icon - Select to display a preview of your edited image. - Enter location information similar to when you publish your content. This allows you to view your image where you want it to appear. For information on the fields, see [Create a publish plan for your content](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/ec-content-library-publish2.md). - Cancel and Save\[Omitted image "ec-cancel-crop-buttons.png"\] Alt text: Cancel and save buttons - Select **Cancel** to exit editing your image and not save your changes. - Select **Save** to save the edits you made to your image. You can select **Crop and continue** to continue editing. **Note:** After you select the **Save and continue** your edits are saved and you cannot back out your edits.
Image size How you want the image to appear.- Fill width: Resize the image to cover the entire container, even if the image must be stretched or cut off on the edges. - Fit width: Resize the image to ensure it is entirely visible. - Original size: Use the original size of the image. This field only appears when you activate **Background image**.
Image position The location you want your image to appear. Select a box to define the image position.This field only appears when you activate **Background image**.
Text over background Indicates that you want the text to appear over the background image. If you leave unchecked, the text appears below the image.Slide right to select a gradient for your background.
Add gradient Indicates that you want the text to include color gradient to make your text easier to read.Only appears when you activate the **Text over background** field.
6. Select **Save** to save the record and remain on the **Design** tab. 7. Or, select **Save and continue** to save the record and move to the **Publish** tab. ## What to do next - \(Optional\) Translate your content. Request language translation for your content. For more information, see [Multilingual support in the Content Library](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/ec-switch-language.md). **Note:** Only translate content after you are done modifying the content. For best results, we do not recommend that you add or remove components or change the formatting after translation. To create rich content that is formatted differently in different languages, duplicate the content and modify the formatting as needed. Then, use Audiences to target the content to users by language. See [Audiences](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/ecpro-audience.md) - Preview your content from the **Publish** tab. **Note:** Content Preview is designed to provide a general idea of how your content looks. Content may look different once published due to variations in device resolution, theme difference, or mobile app style configuration. - Configure a publish plan to control where the content is delivered, the audience, and the period of time it is available: [Create a publish plan for your content](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/ec-content-library-publish2.md).