• Open
  • Bernd Kuropka
    Spectator
    April 25, 2020 at 6:37 am #44747

    Hello everyone
    I haven’t been at evolve plus for so long and just can’t get on with the “contribution picture” problem.
    I really want to have it smaller, but I can’t do it. Have copied the probably important data here.
    Since I also have no idea about CSS, I can only think of the possibility to change the data in the script itself.

    I’m working with elementor v2.9.8 und word press 5.4

    It is the size of the image you choose for a post to make it more attractive and interesting on the home. However, when you open the post, the image appears far too large.

    Here is the link to the corresponding page: www/ksv-handball.de

    Can someone please help me, would be great !

    LG Bernd

    if ( ! function_exists( ‘theme_slug_setup’ ) ) :
    /**
    * Sets up theme and registers support for various WordPress features.
    */
    function theme_slug_setup() {
    // Other Theme Setup code…

    // Enable support for Post Thumbnails on posts and pages.
    add_theme_support( ‘post-thumbnails’ );

    // Set detfault Post Thumbnail size.
    set_post_thumbnail_size( 300, 150, false );

    // Add custom image size for single posts.
    add_image_size( ‘theme-slug-single-post’, 150, 100, true );
    }
    endif;
    add_action( ‘after_setup_theme’, ‘theme_slug_setup’ );
    set_post_thumbnail_size( 300, 150, true );
    add_image_size( ‘theme-slug-single-post’, 150, 100, true );

    set_post_thumbnail_size( 150, 100, true );

    if (!function_exists(‘evolve_setup’)) {
    function evolve_setup()
    {
    $width_px_default = evolve_theme_mod(‘evl_width_px’, ‘1500’);
    $width_px = apply_filters(‘evolve_header_image_width’, $width_px_default);

    // Load Textdomain
    load_theme_textdomain(‘evolve’, get_template_directory().’/languages’);

    // Feed Links
    add_theme_support(‘automatic-feed-links’);

    // Support For Post Thumbnails
    add_theme_support(‘post-thumbnails’);

    // Title Tags
    add_theme_support(‘title-tag’);

    // Supported Image Sizes
    set_post_thumbnail_size(340, 165, true);
    add_image_size(‘evolve-post-thumbnail’, 340, 165, true);
    add_image_size(‘evolve-slider-thumbnail’, 400, 300, true);
    add_image_size(‘evolve-tabs-img’, 50, 50, true);
    add_image_size(‘evolve-testimonial-avatar’, 80, 80, true);
    add_image_size(‘evolve-related-img’, 300, 225, true);
    add_image_size(‘evolve-portfolio-square’, 75, 75, true);
    add_image_size(‘evolve-portfolio-small’, 150, 150, true);
    add_image_size(‘evolve-portfolio-medium’, 320, 240, true);
    add_image_size(‘evolve-portfolio-img’, 640, 480, true);

    Evgeny
    Keymaster
    Posts: 988
    April 25, 2020 at 12:15 pm #44751

    Hello. Just to be clear – there is no help from the community here usually, it is just theme authors helping the clients ). So, please give a link to a post where you consider the image to be too large.