Adapted resolution for fullwidth

Hi!

Thank you very much for providing such a great theme, which covers all my needs. :slight_smile:

At the moment, the fullwidth page still uses the resized featured image (750x410). [0] I’d be very glad, if you could adapt this to the size of the primary body (1110x1106). So it looks like this. [1]

[0] http://oi62.tinypic.com/2m5hurl.jpg
[1] http://oi60.tinypic.com/bflt36.jpg

Cheers

I don’t think that it will become as feature sometime soon because you are first one to ask for this (between 150,000 users) and it would take up extra space on user servers as it doesn’t matter if you use or don’t use these images they will going to be generated when new image us uploaded. Instead of default 2 different images, it will generate one more extra which would be then used by 0.01% of the users. Don’t think it is a really good idea.

The process for your would be very simple. Add this to functions.php file:

add_image_size( 'sparkling-fullwidth', 1100, 500, true );

It will register a new featured image size. You can change it to any size you want as I just added this as an example.

Now inside content-page.php template replace existing call for featured images

<?php the_post_thumbnail( 'sparkling-featured', array( 'class' => 'single-featured' )); ?>

With this one:

<?php 

if ( is_page_template( 'page-fullwidth.php' ) ) {
	the_post_thumbnail( 'sparkling-fullwidth', array( 'class' => 'single-featured' ));
} else {
	the_post_thumbnail( 'sparkling-featured', array( 'class' => 'single-featured' ));
}

?>

This code check what template you use and will use and will make sure to use the right featured image.

Changes can be done via Child Theme as well.

Thank you very much for your quick and issue-solving reply.