Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #856715

    I am trying to hide a single product image on a Woocommerce product page at http://thechildrensballet.com/product/test-tuition/. I have tried different solutions like adding this to my functions.php file:

    remove_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_images’, 20 );

    and adding this to my Custom CSS file:

    .single .single-product-main-image.alpha {
    display: none;
    }

    However, nothing I have tried is working. I would like the product content to stretch the full width of the page, since I don’t have an image I want to use. Thanks!

    #856752

    Hey johnjosephjohansson,
    Try this code in the General Styling > Quick CSS field:

    .postid-6221 div.single-product-main-image {display:none!important;}

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.