• 1)
    Hello, please tell me,
    If there is no image, then an empty space is displayed.
    Previously displayed as a picture of the path that is specified in this code:
    in file functions.php

    ———————————————————–
    add_action( ‘init’, ‘custom_fix_thumbnail’ );

    function custom_fix_thumbnail() {
    add_filter(‘woocommerce_placeholder_img_src’, ‘custom_woocommerce_placeholder_img_src’);

    function custom_woocommerce_placeholder_img_src( $src ) {
    $upload_dir = wp_upload_dir();
    $uploads = untrailingslashit( $upload_dir[‘baseurl’] );
    $src = $uploads . ‘/2018/03/no-photo04.jpg’;

    return $src;
    }
    }

    ———————————————————–

    2)
    The second question, you can not make a block Fixed in place,

    Class “sticky” does not work, but “fixed” It works but it is not needed,
    Because you need the elements to be fixed after scrolling

    does not work:

    div.images.wpgis-wrap {
    position: sticky;
    top: 81px;
    }

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

The topic ‘Empty place’ is closed to new replies.