I’d like images in my blog to be slightly wider than text paragraphs (but equal width in the responsive mode). I managed to do this on index page, using feature image for posts and adding the following custom css:
@media screen and (min-width: 768px) {
.blog-posts p {
padding: 0 40px;
}
}
In single-blog template I also can make text paragraphs narrower, using the following css:
But this code also affects images inside the post, because they are located inside paragraphs. I tried to add negative paddings to images inside the paragraphs to make them wider than text blocks (it was something like