> For the complete documentation index, see [llms.txt](https://uxsmart.gitbook.io/velare/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uxsmart.gitbook.io/velare/customize-your-pages/blog/blog-posts.md).

# Blog posts

**Blog posts** shows the most recent articles from one of your blogs as a row of cards, so writing that would otherwise sit behind a menu link appears where shoppers already are. Each card carries the featured image and the title, and you decide whether it also shows the category, tags, date, author, and a short excerpt. Shoppers usually meet the section low on the homepage or on a landing page, under the product rows, where it signals that the store is active and gives people a reason to keep reading.

The list is filled automatically from the blog you select, so once it is set up new articles appear without you touching the theme again.

<figure><img src="/files/XguQ8EzNajL0Od3KHxHM" alt=""><figcaption></figcaption></figure>

### Where to find it <a href="#where-to-find-it" id="where-to-find-it"></a>

{% hint style="success" %}
**Steps:**

1. Go to **Online Store > Themes > Customize**.
2. Open the template where the articles should appear, for example the homepage.
3. Click **Add section** and choose **Blog posts** from the **Blog** group.
4. Under **Blog**, select which blog the posts come from.
5. Set how many posts to show, then turn off any card details you do not need.
   {% endhint %}

*Result:* the newest articles from that blog appear as cards, refreshed automatically each time you publish.

### Section settings <a href="#section-settings" id="section-settings"></a>

#### General settings <a href="#general-settings" id="general-settings"></a>

| Setting           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Section width** | <p>How far the row of articles spreads across the screen.</p><ul><li><strong>Stretch width</strong>: the cards run close to both screen edges whatever the screen size.</li><li><strong>Fixed width</strong>: the cards line up with the page width set in <strong>Theme settings > Layout</strong>, which keeps them level with the product rows above.</li><li><strong>Full width</strong>: the section fills the whole browser window and resizes with it.</li></ul> |
| **Color scheme**  | The background and text colours of the section. Schemes are defined in **Theme settings > Colors**, and a different scheme here is a simple way to mark where the shopping part of the page ends and the reading part begins.                                                                                                                                                                                                                                           |

#### Section header <a href="#section-header" id="section-header"></a>

| Setting                  | Description                                                                                                                                                                                                                                                                                                                             |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Subheading**           | A short line above the title, often a label such as `Journal` that tells shoppers what kind of content follows.                                                                                                                                                                                                                         |
| **Heading**              | The title shoppers read first, for example `From the blog`. It is what makes the row of cards read as articles rather than products.                                                                                                                                                                                                    |
| **Description**          | A sentence under the title, usually the promise of what the writing covers.                                                                                                                                                                                                                                                             |
| **Heading size**         | <p>How large the title is rendered.</p><ul><li><strong>Heading 1</strong>: the biggest, for a page where the articles are the main content.</li><li><strong>Heading 2</strong>: a middle size that suits most homepages.</li><li><strong>Heading 3</strong>: the smallest, when the articles support the products above them.</li></ul> |
| **Alignment**            | <p>Where the title and its supporting line sit above the cards.</p><ul><li><strong>Left</strong>: lines up with the first card and reads naturally.</li><li><strong>Center</strong>: balanced over a full row, the common choice.</li><li><strong>Right</strong>: rarely needed, use it to mirror a neighbouring section.</li></ul>     |
| **Show view all button** | Adds a button that takes shoppers to the whole blog rather than the handful of posts shown here. Turn it on whenever the blog has more articles than the row displays.                                                                                                                                                                  |
| **Button label**         | The words on that button. Something specific such as `Read all articles` sets a clearer expectation than a generic label.                                                                                                                                                                                                               |
| **Button link**          | Where that button leads, normally the blog the posts are drawn from.                                                                                                                                                                                                                                                                    |

#### Blog post <a href="#blog-post" id="blog-post"></a>

| Setting                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Blog**                     | Which blog the articles come from. If you leave it alone the theme uses the first blog in alphabetical order on your [Blogs page](https://shopify.com/admin/blogs), which is rarely the one you meant.                                                                                                                                                                                                                                                                                                                         |
| **Image ratio**              | <p>The shape every featured image is cropped to, so cards of different photo sizes still line up.</p><ul><li><strong>Adapt to image</strong>: keeps each photo as it was uploaded, nothing is cut off but card heights vary.</li><li><strong>Portrait</strong>: a tall 3:4 crop that gives images more presence in the row.</li><li><strong>Square</strong>: a 1:1 crop, the most forgiving when photos come from different sources.</li><li><strong>Landscape</strong>: a wide 4:3 crop that keeps the row compact.</li></ul> |
| **Maximum items to show**    | How many articles appear, from 2 to 12. Three or four is enough on a homepage, more turns the section into a page of its own.                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Items per row on desktop** | How many cards sit side by side on a wide screen, from 2 to 4. More per row means smaller images and shorter titles before they wrap.                                                                                                                                                                                                                                                                                                                                                                                          |
| **Column gap**               | <p>The space between cards.</p><ul><li><strong>No gap</strong>: cards touch, for a dense editorial look.</li><li><strong>Small</strong> and <strong>Medium</strong>: keep the cards visibly separate without wasting width.</li><li><strong>Large</strong>: gives each card room, best with only two or three per row.</li></ul>                                                                                                                                                                                               |
| **Show category**            | Shows which blog the article belongs to on the card, useful when you run more than one blog and readers need to tell them apart.                                                                                                                                                                                                                                                                                                                                                                                               |
| **Show tags**                | Shows the article's tags on the card. Helpful when tags are real topics, noise when they are internal keywords.                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Show date**                | Shows when the article was published. Turn it off for evergreen guides, where an old date makes good advice look stale.                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Show author**              | Shows who wrote the article, which adds credibility to expert advice and clutter to a short styling note.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Show excerpts**            | Shows the opening lines of the article under the title, so shoppers can judge whether it is worth a click. It also makes each card considerably taller.                                                                                                                                                                                                                                                                                                                                                                        |

#### Carousel settings <a href="#settings-for-carousel" id="settings-for-carousel"></a>

| Setting                     | Description                                                                                                                                               |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Enable carousel**         | Turns the grid into a swipeable row instead of stacking cards down the page. Use it when you want more articles available without making the page longer. |
| **Show navigation**         | Shows the previous and next arrows. Keep them on for desktop, where shoppers have no swipe gesture.                                                       |
| **Show pagination**         | Shows the dots under the row, which tell shoppers how many articles are in the carousel and where they are in it.                                         |
| **Reveal next slide**       | Leaves part of the following card peeking in at the edge, a visual hint that there is more to swipe to.                                                   |
| **Items per row on mobile** | How many cards fit across a phone screen. One gives large, readable cards; two lets shoppers compare titles but shrinks the images.                       |

#### Section padding <a href="#section-padding" id="section-padding"></a>

| Setting    | Description                                                                                          |
| ---------- | ---------------------------------------------------------------------------------------------------- |
| **Top**    | Space added above the section. Increase it when the heading sits too close to the section before it. |
| **Bottom** | Space added below the section. Increase it when the footer or the next section crowds the cards.     |

#### Section divider <a href="#section-divider" id="section-divider"></a>

| Setting          | Description                                                                                                                                         |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show divider** | Draws a thin horizontal line at the section edge, useful when the articles and the section above share a background colour and run into each other. |

### What changes on the storefront <a href="#what-changes" id="what-changes"></a>

* Shoppers see the newest articles from the selected blog, and clicking a card opens that article.
* Every detail you enable makes the cards taller, so turning on category, tags, date, author, and excerpt at once leaves very little room for the images.
* With **Enable carousel** off the cards wrap onto more rows on narrow screens instead of scrolling sideways.

### Related pages <a href="#related-pages" id="related-pages"></a>

* [Blog](/velare/customize-your-pages/blog.md): the group this section belongs to
* [Blog page](/velare/customize-your-pages/blog-page.md) and [Blog post page](/velare/customize-your-pages/blog-post-page.md): where the **View all** button and the cards lead
* [Colors](/velare/set-up-your-store/colors.md) and [Typography](/velare/set-up-your-store/typography.md): where the schemes and font presets come from
* [Layout](/velare/set-up-your-store/layout.md): the page width that **Fixed width** follows


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://uxsmart.gitbook.io/velare/customize-your-pages/blog/blog-posts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
