Stretch Thumbnail

Posted in: Newsmag
Post count: 88

Hello,

is it possible to stretch the thumbnail automatically.

An example on my website is here:
http://awayfromlife.com/survival-forged-in-iron-review/

I want that the thumbnail will shown over the full-width.

Many greetings,

Simon

Post count: 6535

Hi

That the image fit the entire thumb must be at least by thumb’s size, because WordPress won’t enlarge the images, only crops them. For the indicated post you can use this custom css in theme panel > custom css: http://screencast.com/t/vpWaWt9XLEi7

.postid-6805 .td-post-featured-image img{
width: 100%;
height: 580px;
}

Let me know how it goes and provide more details if this is not what you mean.

Thanks!

Post count: 88

Hello,

I want to stretch all thumbnails which have the post template style 4. I’ve tried it with this one and it seem to work:

.td-post-featured-image .td-animation-stack-type0-2 {
width: 100% !important;
height: auto !important;
}

Is this code ok or “damage” it other images?

Thank you!

Post count: 6535

Hi

The code affect the featured images from all post templates. If you want to apply only for post template 4 try like this:

.single_template_4 .td-post-featured-image img {
width: 100% !important;
height: auto !important;
}

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.