Is there header code injection for featured image width?
As a general guideline, featured images should rarely be wider than the text of the post. Is there a way to do this by adding a header code injection?
Thanks,
Lance
Running version 5.22.4, on pikapods.com, with the Solo theme.
Answer (at least for Solo theme, which has a fairly narrow column of text):
Under Settings > Code injection > header
<style>
.gh-article-image {
max-width: 700px;
margin: 0 auto !important;
float: none !important;
}
</style>
This code should work for any theme, though you might need to experiment with the 700px, depending on your theme’s text width.