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

# Blog Posts

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

To add this section, please follow below steps:

1. From your Shopify admin, go to **Online Store** **->** **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Click **Add section** and choose "**Blog posts**".

## Section settings

### General

<table><thead><tr><th width="347">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Section Width</td><td>Select the layout width of the whole section. The options are: <br><br><mark style="color:orange;"><strong>Default (same as the body width)</strong></mark><br><mark style="color:orange;"><strong>Width (1170px)</strong></mark><br><mark style="color:orange;"><strong>Width (1770px)</strong></mark><br><mark style="color:orange;"><strong>Full width (100% of the viewport width).</strong></mark></td></tr><tr><td>Padding for 'full width' option on desktop</td><td>Determine the left and right spacing of the full width layout.</td></tr><tr><td>Background color</td><td>Apply Color on the background of the section.</td></tr><tr><td>Background gradient</td><td>Apply Color on the background gradient of the section.</td></tr><tr><td>Background Image</td><td>Upload / Select an image as the section background.</td></tr></tbody></table>

### Section header

<table><thead><tr><th width="351">Settings</th><th>Meaning </th></tr></thead><tbody><tr><td>Title</td><td>Enter the title for the section.</td></tr><tr><td>Title bottom margin</td><td>Determine the spacing of the title from its bottom.</td></tr><tr><td>Show title border</td><td>Toggle to the title border as its underline.</td></tr><tr><td>Title custom width</td><td>Specify the width of the title text ranging from 100px to 600px.</td></tr><tr><td>Title border color</td><td>Set color for the border/underline of the title.</td></tr><tr><td>Title color</td><td>Set color for the section title.</td></tr><tr><td>Title font size</td><td>Determine the font size of the title.</td></tr><tr><td>Title font size on mobile</td><td>Determine the font size of the title on Mobile device.</td></tr><tr><td>Description</td><td>Enter the text for the section description.</td></tr><tr><td>Description bottom margin</td><td>Determine the description spacing from the bottom.</td></tr><tr><td>Description color</td><td>Set the color for the section description text.</td></tr><tr><td>Description font size</td><td>Determine the font size of the section description text.</td></tr><tr><td>Alignment</td><td>Select the alignment of the section content to be either Left, Right or Center.</td></tr><tr><td>View all</td><td>Enter the text for the view all button/link.</td></tr><tr><td>'View all' alignment</td><td>Select the alignment of the view all text to be either Left, Right, or Center.</td></tr><tr><td>'View all' font weight</td><td>Select the font weight of the view all text to be either Normal, Medium, Semi Bold, Bold, Extra bold, or Black.</td></tr><tr><td>'View all' top margin</td><td>Specify the spacing of the view all button/link to the top content.</td></tr><tr><td>'View all' bottom margin</td><td>Specify the spacing of the view all button/link to the bottom content.</td></tr><tr><td>Show 'view all' border</td><td>Toggle to show the border/underline of the view all button/link.</td></tr><tr><td>'View all' link</td><td>Specify the URL for the view all button/link to navigate to.</td></tr><tr><td>'View all' link color</td><td>Set the color for the view all text.</td></tr><tr><td>'View all' icon</td><td>Enter the SVG code for the view all icon.<br><br><em><mark style="color:orange;">Note: Go to this link</mark></em> <a href="https://fontawesome.com/v5.15/icons?d=gallery&#x26;p=2"><em><mark style="color:orange;">find your icon</mark></em></a><em><mark style="color:orange;">. Find the icon you want, then copy the SVG code and paste it here</mark></em><mark style="color:orange;">.</mark></td></tr><tr><td>'View all' icon color</td><td>Set the color for the view all icon.</td></tr><tr><td>'View all' alignment</td><td>Select the position of the view all to be either Under the heading, Right side of the heading.</td></tr></tbody></table>

### Blog

<table><thead><tr><th width="355">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Blog</td><td>Select a blog to render its blog posts.</td></tr><tr><td>Items per row</td><td>Select the column count of the section.</td></tr><tr><td>Grid gap</td><td>Determine the gap between blog posts in the section.</td></tr><tr><td>Number of blog posts to show</td><td>Determine the maximum number of blog posts to render.</td></tr><tr><td>Blog posts description length</td><td>Determine the maximum words for the description to truncate if exceeded.</td></tr><tr><td>Text 'by'</td><td>Enter text as a linking word to the author.</td></tr><tr><td>Text 'on'</td><td>Enter text as a linking word to the date.</td></tr><tr><td>Show author</td><td>Toggle to show Author of the Blog Post.</td></tr><tr><td>Show date</td><td>Toggle to show Date of the Blog Post.</td></tr><tr><td>Show description</td><td>Toggle to show Description of the Blog Post.</td></tr><tr><td>'Read more' button position</td><td>Toggle to show a button that navigates to the Blog Post Page on clicked. There are 3 options:<br><br><mark style="color:orange;"><strong>None</strong></mark><br><mark style="color:orange;"><strong>Under content</strong></mark><br><mark style="color:orange;"><strong>Right side of the heading</strong></mark></td></tr><tr><td>Icon on Read more button</td><td>Select the icon inside the read more button.</td></tr><tr><td>Blog date format</td><td>Select the format for the blog date. There are 2 options:<br><br><mark style="color:orange;"><strong>Ex: Feb 21, 2024</strong></mark><br><mark style="color:orange;"><strong>Ex: February 21, 2024</strong></mark></td></tr></tbody></table>

### Blog items

<table><thead><tr><th width="354">Settings</th><th>Meaning</th><th data-hidden></th></tr></thead><tbody><tr><td>Background color</td><td>Set the background color for all blog posts.</td><td></td></tr><tr><td>Corner radius</td><td>Specify the roundness of the blog post card.</td><td></td></tr><tr><td>Image bottom margin</td><td>Determine the spacing of the blog post image from its bottom.</td><td></td></tr><tr><td>Title bottom margin</td><td>Determine the spacing of the blog post title from its bottom.</td><td></td></tr><tr><td>Info bottom margin</td><td>Determine the spacing of the blog post info from its bottom.</td><td></td></tr><tr><td>Description bottom margin</td><td>Determine the spacing of the blog post description from its bottom.</td><td></td></tr><tr><td>Blog title style</td><td>Select the style of the blog title. There are 2 styles:<br><br><mark style="color:orange;"><strong>Below the image</strong></mark><br><mark style="color:orange;"><strong>Overlap the image</strong></mark></td><td></td></tr><tr><td>Content alignment</td><td>Select the alignment of the blog post content to be either to the Left, Right or Center of the blog post card.</td><td></td></tr><tr><td>'View details' link style</td><td>Select the font style transform of the Blog Link text. The options are: None, Capitalize, Uppercase and Downcase.</td><td></td></tr><tr><td>'View details' link font weight</td><td>Select the font weight of the blog link to be either Normal, Medium, Semi Bold, Bold, Extra bold, or Black.</td><td></td></tr><tr><td>Show border box</td><td>Toggle to wrap the content in a box to prevent content stretching.</td><td></td></tr><tr><td>Border box color</td><td>Set the color for the box border.</td><td></td></tr><tr><td>Title color</td><td>Set the color for the blog titles.</td><td></td></tr><tr><td>Date color</td><td>Apply color for the blog post issue dates.</td><td></td></tr><tr><td>Description color</td><td>Apply color on the blog post descriptions.</td><td></td></tr><tr><td>Show 'view details' link as button</td><td>Toggle to show the 'view details' link as button.</td><td></td></tr><tr><td>Link/Button label color - Button border color - Button background color - Link/Button label hover color - Button border hover color - Button background hover color</td><td>Set the color for the text, border, background of the blog post card button for both normal and hovered/clicked states.</td><td></td></tr><tr><td>Show content on image</td><td>Toggle to allow content lying on top of the image.</td><td></td></tr><tr><td>Content background color</td><td>Set the color for the background of the blog post content including title, description, author and release date.</td><td></td></tr><tr><td>Content background gradient</td><td>Set the gradient color for the background of the blog post content including title, description, author and release date.</td><td></td></tr></tbody></table>

### Section top padding

<table><thead><tr><th width="334">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Desktop</td><td>Determines the height of the top inner space of the section on the desktop device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Tablet</td><td>Determines the height of the top inner space of the section on the tablet device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Mobile</td><td>Determines the height of the top inner space of the section on the mobile device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr></tbody></table>

### Section bottom padding

<table><thead><tr><th width="334">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Desktop</td><td>Determines the height of the bottom inner space of the section on the desktop device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Tablet</td><td>Determines the height of the bottom inner space of the section on the tablet device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Mobile</td><td>Determines the height of the bottom inner space of the section on the mobile device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr></tbody></table>


---

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

```
GET https://halosoft.gitbook.io/ella-documentation/sections/all-sections-in-theme/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.
