• Resolved comyu

    (@comyu)


    Hi! For transparent images in posts and cpt, or too small images a black background is generated in the share icon in for example whatsapp. I want this to bd white, as it looks ugly – any way to change that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    I’m afraid you can only influence that by uploading the image without a transparent background. Instead, you should add the background color in Photoshop, GIMP, Paint, etc., and assign that image as the social-sharing image.

    Thread Starter comyu

    (@comyu)

    Thank you for the answer

    Is it possible to just use the fallback image? So select my Logo and just use that instead of post pictures

    Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    Before an image gets used from the fallback image of the SEO Settings page, these are used:

    • Custom image set in the SEO meta box.
    • Post’s featured image.
    • Images from the content.

    More details: https://www.ads-software.com/support/topic/featured-image-behavior-2/#post-14814997

    You can turn those off selectively via filters. Specifically, via filter the_seo_framework_image_generation_params you might want to unset the return value’s ['cbs']['content'] index:

    add_filter( 'the_seo_framework_image_generation_params', function( $params ) {
    	unset( $params['cbs']['content'] );
    	return $params;
    } );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Social Image background color’ is closed to new replies.