> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/look-and-feel-customization/customization-options-for-older-versions-before-1.0.1.md).

# Customization Options for Older Versions (before 1.0.1)

To set your own look-and-feel options, use the `style` section in the `Ozliveness.open` method. Here is what you can change:

* `faceFrame` – the color of the frame around a face:&#x20;
  * `faceReady` – the frame color when the face is correctly placed within the frame;
  * `faceNotReady` – the frame color when the face is placed improperly and can't be analyzed.
* `centerHint` – the text of the hint that is displayed in the center.
  * `textSize` – the size of the text;
  * `color` – the color of the text;
  * `yPosition` – the vertical position measured from top;
  * `letterSpacing` – the spacing between letters;
  * `fontStyle` – the style of font (bold, italic, etc.).
* `closeButton` – the button that closes the plugin:
  * `image` – the button image, can be an image in PNG or dataURL in base64.
* `backgroundOutsideFrame` – the color of the overlay filling (outside the frame):
  * `color` – the fill color.

&#x20;  Example:

```css
OzLiveness.open({
  // ...
  style: {
        // the backward compatibility block
    doc_color: "", 
    face_color_success: "",
    face_color_fail: "", 
	// the current customization block
    faceFrame: {
      faceReady: "",
      faceNotReady: "",
    },
    centerHint: {
      textSize: "",
      color: "",
      yPosition: "",
      letterSpacing: "", 
      fontStyle: "", 
    },
    closeButton: {
      image: "",
    },
    backgroundOutsideFrame: {
      color: "", 
    },
  },
  // ...
});
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/look-and-feel-customization/customization-options-for-older-versions-before-1.0.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
