Hi,
That can’t be done with the Newsmag theme, the post content width is limited to 640px for most post templates – https://prnt.sc/oshddx
So if the post template displays the featured image in the content it will be limited to that width.
Some post templates display a bigger image, in this one (template 3) the featured image is 681px wide – https://demo.tagdiv.com/newsmag/how-to-combine-food-for-a-nice-diner-night/
You can check the post templates here – https://demo.tagdiv.com/newsmag
– https://prnt.sc/oshenr
Let me know if you have more questions.
Thanks
Hi,
So you want the images inside the post content to have the same width as the featured image in the template I mentioned above. All you have to do is to use the full width option for the images – https://prnt.sc/oulnsj -> https://prnt.sc/oulnza
The images will look like this – https://prnt.sc/oulo7x
If I misunderstand let me know.
Thanks
Hi Simion,
no, I don’t want resize the image inside the post.
I mean the following:
After changing the theme to yours all my old thumbnails for the post are too small. I’ve changed the sizes to 681px with the “regenerate thumbnails” plugin. However, the old widths are displayed in the theme at the top of the post.
How can I force the theme to show all thumbnails above the post in width 681px?
Thank you,
Luke
Hi,
I think that your thumbs was not set to the right dimension, you can correct theme by using this plugin for Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
If this in not what you mean, please provide some more details/some screenshots or a link where I can inspect this problem.
Thank you!
Hi,
this is not what I mean.
I changed the theme and the post image (not the thumbnail in a post or an overview) is too small.
Correct (if I upload a 681px image): https://www.eronite.com/images/correct.jpg
Incorrect (post image from the old theme): https://www.eronite.com/images/not-correct.jpg
I used the plugin “regenerate thumbnails” to build all images additionally with 681px. How can I force the theme to use them as post image?
Thanks a lot,
Luke
Hi,
I just inspect some of your featured posts and some of them are to small -> http://prntscr.com/ovfb4o, you need to set some big image like this one -> http://prntscr.com/ovfc8e
Thank you!
This is not successful:
if ( function_exists( ‘add_theme_support’ ) ) {
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 681, 0, true ); // default Post Thumbnail dimensions (cropped)
// additional image sizes
// delete the next line if you do not need additional image sizes
add_image_size( ‘category-thumb’, 681, 9999 ); //300 pixels wide (and unlimited height)
}
Hi,
How I said above there is no plugin that can create a bigger thumb from a small image, the only solution is to use a custom css -> http://prntscr.com/ovxe5f
.td-post-featured-image img {
width: 100%;
}
The code need to be set in Theme panel> Custom code> Custom css
But because the feature image that you have is small the quality will be very low.
Thank you for your understanding!