Hi! How can I change the blog layout on https://www.10xfuel.com/blogs/blog like this:
Topic summary
A user seeks to modify the blog layout on their Shopify store using the Dawn theme. The solution involves editing the theme’s CSS file:
Steps provided:
- Locate and open the
theme.cssfile - Find the code block for
.blog-articles--collage>*:nth-child(3n+1), .blog-articles--collage>*:nth-child(3n+2) - Remove the line
grid-column: span 2;from this selector - Also modify
.blog-articles--collage>*:nth-child(3n+2):last-childby removinggrid-column: span 2;andtext-align: center;
This CSS modification changes how blog articles are displayed in the collage layout by adjusting the grid column spanning behavior. The original poster confirmed the solution worked successfully.
1 Like
Hi,
Do into theme.css and fine following code
.blog-articles--collage>*:nth-child(3n+1), .blog-articles--collage>*:nth-child(3n+2):last-child {
grid-column: span 2;
text-align: center;
}
and Remove the line of code : grid-column: span 2;
2 Likes
perfect - thank you!
1 Like
