Skip to content

On posts, the feature image width 100% seems to be overridden #304

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

You must be logged in to vote

Yup, looks like setting width: 100% to those images will scale them up. Potential downside of doing this would be that it will emphasize artifacts due to smaller (lower quality) images being enlarged.

But the following will do the trick if you want to keep it isolated to just cover images.

.page-image {
  img {
    width: 100%;
  }
}

Replies: 5 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
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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 #304 on December 09, 2020 04:03.