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.
Loading...
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>
<p>Loading...</p>
</div>
<script>
new Fetch('[data-fetch]', {
key: 'YOUR API KEY',
secret: 'YOUR API SECRET',
shelter: 'YOUR SHELTER ID'
}, {
narrowLayout: true
});
</script>
If you’re using WordPress
[fetch2 key="YOUR API KEY" secret="YOUR API SECRET" shelter="YOUR SHELTER ID" narrowlayout="true"]
Loading...
[/fetch2]