• Resolved nici-

    (@nici-2)


    Hiho,

    I create a client’s website with your theme and so far everything works well. I have only one problem:

    I want to have the featured images (on pages) in full width of the content. No problem so far, BUT:

    The theme linkes the pics in in width 1020px, full width of the content area is 1111px. Thus the images get scaled why the lack quality.

    I set image width for the “large” images to 1111px in wordpress preferences. I up-loaded the image afterwards. Still wp created the format width=1020px.

    Can you please hint me as to where the image settings are so that I can alter the width that the images are created into 1111px.

    Thank you.

    Best regards
    nici-

    https://networkx.gmbh/dienstleistung/

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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-

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured Image full width’ is closed to new replies.