Blog featured image size way too big CRAFT theme

Blog featured image size way too big CRAFT theme

mleest
New Member
4 0 0

Hi! I cant find a dang thing in regards to code specifically for the CRAFT theme to change the overall size of the featured images in all blog posts. The images are way too big in height and width. Any code for this?

Replies 3 (3)

NomtechSolution
Astronaut
1245 113 156

Try this code

{% if article.image %}
  <img src="{{ article.image.src }}" alt="{{ article.image.alt }}" style="width: 500px; height: auto;">
{% endif %}
mleest
New Member
4 0 0

Hi. Can't seem to figure out where to put this code. It doesnt work in the theme.liquid section 

suyash1
Shopify Partner
10569 1306 1674

@mleest - can you share your page link where you have this big image?

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.