How can I edit blog previews and display format on Craft Theme 13?

Topic summary

A user running Craft Theme 13 sought help with two blog display customizations:

Issue 1: Hiding blog preview text

  • Remove description/title previews appearing under blog posts
  • Solution: Edit main-blog.liquid file and change show_excerpt:true to show_excerpt:false

Issue 2: Adjusting blog grid layout

  • Mobile: Display 2 posts side-by-side (each taking 1/2 screen width) instead of 1
  • Desktop: Display 3-4 posts per row (each taking ~1/4 screen width)
  • Solution: Add custom CSS code to the section-main-blogs.css file

Both solutions involve accessing the theme code editor (Themes > … > Edit code) and modifying specific files. Screenshots were provided showing the exact code locations and expected results. The original poster confirmed the solutions worked successfully.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

I am on the craft theme 13. Is there a way to edit the blog in 2 ways. The first is to make it so that the description or title does not show up as a preview under the blog? The second is so that the blog posts show up differently. On mobile for the to show up as 2 next to each other instead of 1. So maybe have each take up 1/2 the length of the screen and for desktop for each to show up at 4 or 3. So maybe take up 1/4 of the screen.

To visualize think of them as little playing cards. ‌ :joker: ‌. Mobile ‌ :heart_suit: ‌‌ :diamond_suit: ‌. On the screen desktop ‌ :spade_suit: ‌‌ :spade_suit: ‌‌ :spade_suit: ‌‌ :spade_suit: ‌ and then rows of that. It’s just a slight display augmentation

Hi Ambientcandle,

For this, go to Themes > … > Edit code > Search for the file named “main-blog.liquid”. Then like the photo attached below, change the “show_excerpt:true” into “show_excerpt: false”

Result:

1 Like

For this, go to Themes > Edit code > … > Search for the file named “section-main-blog.css”. Then add this code (see photos)

Results:
Desktop

Mobile

1 Like

It works thanks have a great day. Thanks for the photos.