# Blog posts

The blog post section is useful when you want to show new product launches, tips, or other news.

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

{% hint style="success" %}
Steps

1. In the theme editor **(Customize)**, click **Add section**
2. Locate **Blog posts**
3. **Save**
   {% endhint %}

To know more about how to add a blog to your online store, see [Blogs](https://help.shopify.com/en/manual/online-store/blogs).

This article shows you how to display your blog posts on your website using the **Megamog** theme.

### **1. General and layout:**&#x20;

Use the color scheme to change the style for this section.

Additionally, enable the box layout and the color scheme to change the style of it.

<figure><img src="/files/1W09JP1zfakWBAy6aTmv" alt=""><figcaption></figcaption></figure>

### 2. Section Header

Use the provided text fields to add a suitable heading and change the heading size. Leave any of them blank if you do not want to display them.

Adjust the text alignment (left/center) along with the background color and container type on both mobile and desktop screens.

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

### **3. Content**

This section is for adding preferable blog posts. You can use the slider to adjust the number of blog posts per row and the number of displayed posts (between 2 and 12).

Additionally, the gap between each post can also be changed here.

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

### **4. Card settings**

The card section is adjusting the blog image ratio and content alignment inside. Furthermore, you can enable/disable the card elements if needed:

* Show tags: Display relevant tags of the blog post
* Show published date: Display the date that the blog is issued
* Show excerpt: Display a short summary of the blog
* Show read more link: Lead the customers to the full blog post

<figure><img src="/files/5nuuuVqmKhBzCa28Ekhb" alt=""><figcaption></figcaption></figure>

### **5. Button settings**

Display a call-to-action button to redirect customers to your desired pages. Add a **Label** and **Link** for one or both, then choose a **Button style** and adjust the **Button size.**

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

### 6. Mobile setting

This section lets you display your design for mobile view.

<figure><img src="/files/1lb3fwPcIvsxY1NjDGQC" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.foxecom.com/megamog-theme/theme-sections/blog-posts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
