Setting the Background for Lists

You can set a background color and/or image on lists or items within them.

How to Use a Style to Add a Background to a List

  1. From the Content Explorer, open the stylesheet that you want to modify.
  2. From the Medium drop-down in the Stylesheet Editor, make sure the proper medium is selected before you begin. In the Advanced view, you can open multiple mediums at once; you just need to look at the title at the top of the medium pane and make sure you are working in the correct one. If you are not using stylesheet mediums for your different outputs or if you want all mediums to have the same settings, just leave the medium set to default and continue.

    Mediums can be used if you want to use one group of settings for online output types and another group of settings for print-based output types. For example, you might use the default medium for your online outputs and the print medium for your print outputs. See Mediums and Media Queries.

    Please note that Flare remembers the last medium that you used when working in the stylesheet, so it may or may not be the one that you want to use the next time around.

  3. In the local toolbar, make sure the first button displays . If the button displays instead, then click it.
  4. In the upper-left corner of the editor, click in the drop-down field and select .
  5. Select a list style. For example, you can select ol for ordered (numbered) lists, ul for unordered (e.g., bullet) lists, or li for individual list items. You can select the parent style (e.g., li), or you can select a class that you may have created for that tag (e.g., li.Bold, li.Italic). For more information about the ol, ul, and li styles for lists, see Editing List Styles.
  6. From the Show drop-down list on the upper-right side of the editor, select .
  7. (Optional) You can use the toggle button in the local toolbar to show properties below in a group view or an alphabetical view .
  8. If you are using the grouped view, expand the Background group. 
  9. Locate the background property that you want to change.

    To set a color for the background

    • To the right of background-color, click , and select a color. For advanced color options, click and use the fields in the Color Picker dialog, or click to select a color already used elsewhere on your screen.

    To add an image to the background

    1. To the right of background-image, click . The Insert Image dialog opens.
    2. Select an image file to insert. You can do this in one of the following ways.

      • Select an image already in the project by finding and selecting it in the built-in tree.
      • Click to find and select an image file outside of the project.

      Note If you want to select an image file that you recently inserted somewhere in your project, click the down arrow in the field next to the button and select the file from the list.

    3. If you want the background image to repeat, click to the right of background-repeat and select one of the options (definitions from http://www.w3.org).
      • no-repeat The image is not repeated: only one copy of the image is drawn.
      • repeat The image is repeated both horizontally and vertically.
      • repeat-x The image is repeated horizontally only.
      • repeat-y The image is repeated vertically only.
  10. Click to save your work.

What’s Next?

After editing a style, you can apply it to content in a topic or snippet. See Applying Styles to Content.