> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Target the logo from custom scripts

customization, components

`<Fern.Logo />` now renders with a `data-fern-logo` attribute so custom scripts can target the logo with `document.querySelector('#fern-header [data-fern-logo]')`. Use this to rewrite the logo's `href` on certain pages or modify other behavior.

Read the docs