Skip to main content Accessibility Feedback

Demo: 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 narrowLayout setting.


What to put on your site

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

<div data-fetch>

    new Fetch('[data-fetch]', {
        key: 'YOUR API KEY',
        secret: 'YOUR API SECRET',
        shelter: 'YOUR SHELTER ID'
    }, {
        narrowLayout: true

If you’re using WordPress

[fetch2 key="YOUR API KEY" secret="YOUR API SECRET" shelter="YOUR SHELTER ID" narrowlayout="true"]