Skip to main content

Narrower page

If you have a page with a narrow layout, you can force the filters to always hide behind an expand-and-collapse button using the hasSidebar attribute.

*If you’re seeing this, your browser doesn’t support Fetch.*

What to put on your site

<link rel="stylesheet" type="text/css" href="fetch.css">
<script src="fetch.js"></script>

<div class="fetch-container">
    Anything you want to display if Fetch isn't supported by the visitor's browser.
</div>

<script>
    fetch.init({
        key: "YOUR API KEY",
        shelter: "YOUR SHELTER ID",
        hasSidebar: true,
    });
</script>

If you’re using WordPress

[fetch key="YOUR API KEY" shelter="YOUR SHELTER ID" hasSidebar="true"]Anything you want to display if Fetch isn't supported by the visitor's browser.[/fetch]