Hi all,
I need y’all help with the featured image in blog post. Right now it’s way too big >< I want to make it smaller.
Here is the link to my blog post. Thank you!!
A user seeks to reduce the oversized featured image on their Dawn theme blog posts.
Two CSS solutions proposed:
Modify section-blog-post.css (line 11): Change .article-template__hero-container max-width from 130rem to 72.6rem with centered margins.
Add to base.css: Insert .article-template__hero-container rule with max-width: 72.6rem !important at the file’s bottom.
Both approaches target the same CSS class to constrain the hero image container width. The second solution uses !important to ensure the style override takes precedence. Screenshots demonstrate the implementation steps and expected visual results with a more compact featured image display.
Hi all,
I need y’all help with the featured image in blog post. Right now it’s way too big >< I want to make it smaller.
Here is the link to my blog post. Thank you!!
Hi @rielrielx
Please go to your Online store > Themes > Edit code > Assets > section-blog-post.css, go to line 11, find this code
.article-template__hero-container {
max-width: 130rem;
margin: 0 auto;
}
Change to this
.article-template__hero-container {
max-width: 72.6rem;
margin: 0 auto;
}
Hello @rielrielx ![]()
Inside Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.article-template__hero-container {
max-width: 72.6rem !important;
}
The result
Hope it helps!