Core team members can add images and text to a site using the following cards:
- Row card—These are the building blocks of your site. Every card must nest inside a row card. You can add images and background colors to row cards.
- Text card—Add text anywhere on your site by dragging this card onto a row card. You can also use this card to add buttons, lists, tables, and custom code to your site.
- Image card—Add stand-alone images to any row card, anywhere on your site.
To get started, sign in to ArcGIS Enterprise Sites and select Sites from the menu on the Overview page to view a list of your sites.
Tip:
You can also edit a site when viewing it in a browser. Sign in and look for the edit button to the left of your site.
Add and format text
Text can be added to your site anywhere there is a row card.
- Open a site or page in edit mode.
- Add a Text card to a row and add text.
- Select any text you want to format. Options include style (Normal, Code, Headers, etc.), bold, italics, and links.
- To adjust text size, select the style button and choose a header size.
- To adjust text alignment, select the paragraph options and choose one. To move a line of text, choose the paragraph option and select outdent or indent.
Tip:
If you make a mistake, press Command+Z or Ctrl + Z on your keyboard to revert your changes. - Select Save.
Note:
Font size of the base font text was increased on all sites and pages in 2021/2022 to improve readability and make web content accessible to people with diverse abilities. Read the FAQ: Upcoming changes to base font size and rem units in ArcGIS Enterprise Sites post for details.
Change text color
To apply the same color to all text on your site, change text color using your site's Theme settings. You can also adjust text color by using row settings.
- Open a site or page in edit mode.
- To set a color for all text on your site or page, open the side panel and expand the Theme menu. For more information on themes, see Brand a site with header and theme options.
- To set a color for a specific row, select the edit pencil for the row.
- Change the color by entering a hex color code or choosing a color.
Tip:
Hex codes are useful to ensure consistent branding across your organization's resources. If you're unsure of the specifics related to your organization's branding, see if it provides any documentation or brand guidelines. - Select Save.
Change fonts
You can change the font for text headings and base text using Google Fonts. Base text includes all text on your site’s layout. This font is also applied to any pages that have been added to your site and content preview pages accessed through the site’s search.
Add a bulleted or numbered list
Create a list by following these steps.
- Open a site or page in edit mode.
- Add a Text card to a row.
- Add text or select existing text.
- Select Unordered list to create a bulleted list or Ordered list to create a numbered list.
- Select Save.
Add a stand-alone image
You can add stand-alone images to any row card. Images that are shared internally can only be viewed by those who are signed in and belong to the core team or organization.
- Open a site or page in edit mode.
- Add an Image card to a row.
- Under Image, choose an image source. Both options support JPG, JPEG, PNG, etc.
- To provide a URL, choose Image URL and paste a supported image link in the URL field.
- To upload a file, choose Upload image. Drag the file onto the box or select Browse for image to add your image (maximum file size is 3 MB).
- To customize an uploaded image, select the Crop image button and drag a handle to resize the crop frame. To reposition the crop frame, select and drag on the dotted line. To adjust the zoom, use the slider below the image.
- From the Options menu, provide image alt text to help non-sighted users and improve the accessibility of your site.
- If applicable, provide an image hyperlink and set the link to open in the same tab or a new tab.
Note:
Accessibility guidelines (on Input 3.2.2 and technique G201) recommend that you avoid opening links in new tabs or windows unless you provide advanced warning. - Provide text for Image caption and choose text alignment.
- Optionally, select Scale image to fill to set a focal point for the image. The focal point will ensure that the image remains focused where needed as it resizes for different screens.
- Select Save.
Add background images and color
You can add images behind other cards using the Row card.
Tip:
To display text or content over an image, choose a contrasting background color. For example, if using light-colored text or displaying a light-colored map, choose a dark background color, such as black, to ensure that the text remains clear. Then, adjust the color transparency so the image remains visible.
- Open a site or page in edit mode.
- Add a Row card to the layout and format under Appearance.
- Under Background image, choose an image source. Both options support JPG, JPEG, PNG, etc.
- To provide a URL, choose Image URL and paste a supported image link in the URL field.
- To upload a file, choose Upload image. Drag the file onto the box or select Browse for image to add your image (maximum file size is 3 MB).
- Select a Background color by entering a hex code or choosing a color.
Note:
Only row cards support background colors.
- To adjust Image transparency, use the slider or enter a value in the percentage field. This brightens or dims the background color and can help ensure the image and text remain accessible for non-sighted users.
- Select Save.
Choose an image layout on a row card
Every row card has two layout options for how your image is displayed.
- After adding an image to a row card, you can choose a fixed or wide layout for the image and other content displayed on the card.
- Choose Box if you want the image to stay fixed.
- Choose Wide if you want the image to span the width of your site.
- Set Image focal point to ensure that the image remains focused where needed as it resizes for different screens.
- Select Save.
Create a button
A button with a link to another location, such as a page, is a useful navigation tool. Buttons can also include calls to action. Buttons will use the Body link color and Body background color to ensure that buttons are accessible to all types of users. Find details in this Update to Hub button theme colors.
- Open a site or page in edit mode.
- Add a Text card to the layout.
- Select the Insert button and choose Button.
- Select </> Edit in HTML.
- In the 'href' tag, enter URL in place of '#' and link text in place of 'Button' (Calcite component guidance).
- Select Apply and Save.
Create an accordion menu
Add a collapsible menu, a useful option for adding frequently asked questions.
- Open a site or page in edit mode.
- Add a Text card to the layout.
- Select the Insert button and choose Accordion.
- Select </> Edit in HTML to add and format text (Calcite component guidance).
- Select Apply and Save.
See supported Calcite components
The Text card supports the following Calcite Design System components. See a catalog of all Calcite components that includes descriptions, optimal uses, examples, and more.
|
|
|
Configure text with HTML
Customize your text with HTML using the elements and attributes below.
- Open a site or page in edit mode.
- Add a Text card to the layout.
- Select </> Edit in HTML to add and format text (Calcite component guidance).
- Select Apply and Save.
Caution:
For security purposes, Text cards do not support embedded JavaScript. Script tags will be ignored.
HTML elements allowed
|
|
|
|
|
|
The following attributes for those elements are allowed. All supported HTML elements allow : ['class', 'style'].
- 'a' : ['href', 'title', 'data-toggle', 'data-target', 'data-toggle' 'name', 'rel', 'style', 'target']
- 'audio' : ['autoplay', 'controls', 'loop', 'muted', 'preload']
- 'blockquote': ['cite']
- 'button' : ['name', 'value', 'data-toggle', 'data-target', 'data-dismiss']
- 'col' : ['span', 'width']
- 'colgroup' : ['span', 'width']
- 'div' : ['style', 'align', 'data-show', 'data-target', 'data-toggle']
- 'font': ['size', 'color', 'style']
- 'img' : ['align', 'alt', 'border', 'height', 'style', 'src', 'title', 'width']
- 'ol' : ['align', 'start', 'type']
- 'p' : ['style']
- 'q' : ['cite']
- 'source' : ['media', 'src', 'type']
- 'span' : [style]
- 'table' : ['border', 'cellspacing', 'cellpadding', 'class', 'height' 'style', 'summary', 'width']
- 'td' : ['abbr', 'align', 'axis', 'colspan', 'height', 'nowrap', 'rowspan', 'style', 'valign', 'width']
- 'th' : ['abbr', 'align', 'axis', 'colspan', 'height', 'nowrap', 'rowspan', 'style', 'valign', 'width']
- 'tr' : [alignt, 'height', style', valign']
- 'ul' : ['type']