Skip to content

How to resize post images #306

Answered by mmistakes
gusaidler asked this question in Q&A
Discussion options

You must be logged in to vote

Depends. The main image is styled differently in different layouts. For example on an archive page it's much smaller

than on the post page

What I would suggest is use your browser's web developer tools to "inspect" (right click... select inspect) the image element. It will show you the CSS and then you can search through the theme's _sass partials to find it and alter.

That CSS above for img is just a reset. In most cases the .entry-image has been styled with width: 100% so it scales to fill the parent container.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mmistakes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #306 on December 09, 2020 04:01.