Hi all I want to have the option to display blog posts on my home page side by side.
i have the below code which I have tested and it does work however the blogs show listed in vertically down the page. I want to show them side by side if anyone can assist please?
{{ section.settings.title | escape }}
{%- assign blog = blogs[section.settings.blog] -%} {%- if blog.articles_count > 0 -%}- {%- for article in blog.articles limit: section.settings.post_limit -%}
- {%- if article.image -%} {{ article | img_url: '150x150', scale: 2 | img_tag: '' }} {%- endif -%}
{{ article.title }}
{%- if section.settings.blog_show_author -%} By {{ article.author }} {%- endif -%} {%- if section.settings.blog_show_date -%} {{ article.published_at | time_tag: format: 'month_day_year' }} {%- endif -%} {%- if article.excerpt.size > 0 -%} {{ article.excerpt }} {%- else -%} {{ article.content | strip_html | truncate: 150 }} {%- endif -%} {%- if article.tags.size > 0 -%}- {%- for tag in article.tags -%}
- {{ tag }} {%- endfor -%}
- Read more {%- if blog.comments_enabled? and article.comments_count > 0 -%}
- {{ article.comments_count }} comments {%- endif -%}
{%- endfor -%}