Site logo

Archived topic

Featured image size in post

3 replies · Started by Mark on January 10, 2016

Viewing posts 1–4 of 4

Hi, you recently gave me the following CSS to make the page header image fill the container:

.separate-containers .inside-article .page-header-image {
margin: -50px -50px 50px -50px;
}

How can I get the featured image in posts to fill the container in the same way?

It currently sits like this: http://marandall.com/uncategorized/the-revenant-film-review/

But I want it to sit in the container like this: http://marandall.com/lectures/

This would be your full code to do both:

.separate-containers .inside-article .page-header-image,
.separate-containers .inside-article .page-header-image-single {
    margin: -50px -50px 50px -50px;
}

Brilliant, thank you ;-)

You're welcome :)

This archived topic is closed to new replies.