Hi nici-,
Checking your website I can confirm the image width is actually 1111px as you’ve set in WordPress admin. You can check this with your browser code inspector.
Not sure why WordPress still adds width="1020" attribute in there, but this does not really matter as the width of the image is overridden via CSS anyway and like I’ve said, the actual physical width of the image file on your website is correct 1111px.
Anyway, if you still want to tweak this, you can force full image size to display there with this code in your child theme’s functions.php file:
add_filter( 'wmhook_entry_featured_image_size', function( $image_size ) {
if (
is_single( get_the_ID() )
|| is_page( get_the_ID() )
|| is_attachment()
) {
$image_size = 'full';
}
return $image_size;
}, 20 );
Please note that I provide support via https://support.webmandesign.eu
Best regards,
Oliver
BTW, I can see you are building a business website with Auberge theme. I invite you to check out my new Michelle theme which is much more modern in code and fully supports block editor, page builder, theme builders and WooCommerce and is also accessibility ready.
Thread Starter
nici-
(@nici-2)
Hi Oliver,
wow, THAT ist fast support, thank you so much!
I will give your code a try, thank you very much.
As for your hint to use your newer theme: This site was build with your theme long ago, then it went down for some reason and my project was simply to restore the old site. Nonetheless as I decided to use an other main header picture in my eyes the black layout did no longer fit and I started to fiddle around with your theme as you can see, like killing the header gradient, changing some things in the copyright area and so on. Nothing big, but resulting in changes of the overall look and feel (I still don’t know, if my client will follow me on this way, but I decided to give it a try anyway.)
As soon as my client shows the will to relaunch I will consider your other theme.
Again thank you for your fast as lightning support!
Best regards
nici-