All things Shopify and commerce
I am using Shopify Athens theme and I wondering how I can reduce the image size on blog posts so it is smaller.
Blog is here:
https://wipingragworld.com/blogs/news/are-generic-blue-shop-towels-just-as-good
Thanks!
Solved! Go to the solution
This is an accepted solution.
try again and remove above css add this
.template-blog .main-blog .card-article-image img {
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Hi @jwoycke
Please put this css in theme.liquid before body closing tag </body>
<style>
.article-template-image.article-template-image-extracted {
max-width: 450px;
aspect-ratio: 1;
}
</style>
You can adjust the width as per your need though
Please don't forget to Like and Mark Solution to the post that helped you.
Thanks!
Hi @jwoycke
Check this one.
.article-template-image img {
width: 40%;
margin: auto;
}
.article-template-image.article-template-image-extracted {
max-width: 100%;
}
.article-template-image.article-template-image-extracted {
display: flex;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks, how do I get it center now as its not?
already image are center because margin: auto are both side put same space so image already center
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
I already set the code into center. But you change it. Try not to change.
.article-template-image img {
width: 40%;
margin: auto;
}
.article-template-image.article-template-image-extracted {
max-width: 100%;
display: flex;
}
And replace with this one.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
You can put this
max-width: 50%;
margin: auto;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Thanks...any idea how to reduce these images on the blog post page to fit in the set sizes?
https://wipingragworld.com/blogs/news
You can see this if you want this type then comment again also u can massege me
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
yes, i would like that
object-fit: scale-down;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
thanks, but that didnt work
can you share the ss after add this css
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
sorry i do not understand
i mean if you added last sended css then what the result on Your store images or blogs images i see the screenshot of your store layout
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
see below
This is an accepted solution.
try again and remove above css add this
.template-blog .main-blog .card-article-image img {
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Check this one.
.card-article-image .card-media img {
object-fit: contain !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
for some reason, its still not resizing the images
because of image pick cover size thts a problem and show big size image
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @jwoycke
You can add this css on your section-blog-post.css file
max-width: 300px;
margin: 0 auto 3rem;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025