Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1338255
    de-it
    Participant

    Hi there,

    I’m looking for a way to set a default image for WooCommerce products without an image. I’ve already fixed that it shows up on the single product page, but no thumbnails are being displayed on the webshop home page (http://www.de-it.nl/winkel).
    I’ve already tried and searched a lot, but I couldn’t really find a way to make this work.

    Kind regards,
    Rick, DE-IT

    #1338566
    Nabeel A
    Moderator

    Hi Rick,

    Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .woocommerce .no-post-thumbnail .entry-featured a:nth-child(2) {
        background: url(http://placehold.it/350x150);
        padding-bottom: 50%;
        background-size: contain;
    }

    Let us know how this goes!

  • <script> jQuery(function($){ $("#no-reply-1338255 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>