# Recently viewed

> The products a shopper opened most recently on this device, as a carousel or grid. It helps shoppers find their way back to something they liked.

Tally theme documentation · HTML version: https://themelab.page/tally/docs/sections/recently-viewed/

## At a glance

- **In the editor:** Recently viewed
- **Where it goes:** Any page template, with Add section
- **In the presets:** Tally: Home page, Product; Poster: Product; Petal: Product; Every preset: Product (pre-order)
- **Settings:** 23
- **App blocks:** Yes

## How it works

Tally remembers the products a shopper opens, on their own device only – nothing is sent anywhere. The section stays hidden until they have viewed a product, so new visitors never see an empty row. **Show clear history button** lets shoppers clear the list.

It sits on the home page and on the product page in the Tally preset; on the product page it leaves out the product being viewed.

## Options

- **Products to show:** 2–12.
- **Layout:** *Carousel* or *Grid*; 2–6 per row on desktop, 1 or 2 on mobile.
- **Heading** and **Text**, with a smaller default heading size than other sections, so the row feels like a helpful extra.

## All settings

Every setting in the order of the theme editor, with its options and its default value.

**Section: Recently viewed** (23 settings, in editor order)

Shows the products a customer opened most recently on this device. The section stays hidden until they have viewed a product.

| Setting | Options | Default |
| --- | --- | --- |
| **Heading** | Rich text (one line) | Sample text |
| **Text** | Rich text | – |
| **Heading size** | Large · Medium · Small | Small |
| **Products to show** | 2–12 (step 1) | 6 |
| **Layout** | Grid · Carousel | Carousel |
| **Products per row on desktop** | 2–6 (step 1) | 5 |
| **Products per row on mobile** | 1 · 2 | 2 |
| **Show clear history button** | Checkbox | On |
| **Show part of the next card** – For sliders: the next card shows in part and the edges fade, so it is clear the row goes on. | Checkbox | On |
| **Color scheme** | Color scheme | Scheme 1 |

*Grid spacing*

| Setting | Options | Default |
| --- | --- | --- |
| **Use custom spacing** – Otherwise the spacing from Theme settings > Layout is used. | Checkbox | Off |
| **Space between columns** | 0–64px (step 2) | 20px |
| **Space between rows** | 0–96px (step 2) | 20px |
| **Space between columns on mobile** | 0–32px (step 1) | 8px |
| **Space between rows on mobile** | 0–64px (step 1) | 21px |

*Section spacing*

| Setting | Options | Default |
| --- | --- | --- |
| **Top padding** | 0–160px (step 4) | 64px |
| **Bottom padding** | 0–160px (step 4) | 64px |
| **Top padding on mobile** | 0–120px (step 4) | 40px |
| **Bottom padding on mobile** | 0–120px (step 4) | 40px |

*Advanced*

| Setting | Options | Default |
| --- | --- | --- |
| **Hide on mobile** | Checkbox | Off |
| **Hide on desktop** – Mobile means below the width where the header switches to the mobile menu (Header > Switch to the mobile menu below). | Checkbox | Off |
| **Animate on scroll** | Checkbox | On |
| **Anchor ID** – Link to this section with #anchor-id. | Text | – |

## Related

- [Related products](https://themelab.page/tally/docs/sections/related-products.md): Products related to the one being viewed, from Shopify's recommendations, under the product details.
- [Featured collection](https://themelab.page/tally/docs/sections/featured-collection.md): Products from one collection – or several as tabs – in a grid or carousel, with quick filters and a products-per-row switch.
