Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #348310

    Hi,

    Ive added

    remove_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_images’, 20 ); to theme functions.php which removes the product image and code works as expected.

    The next objective is to use all available space for product title, options, add-to-cart button etc.. so I used this

    Using chrome inspector I found this

    .single-product-main-image {
    width: 33%;
    float: left;
    margin-right: 50px;
    overflow: hidden;
    padding-bottom: 50px;
    }

    When editing via inspector I achieve the desired results, for example changes to width

    .single-product-main-image {
    width: 0%;
    float: left;
    margin-right: 50px;
    overflow: hidden;
    padding-bottom: 50px;
    }

    The issues I have are when adding this code to custom CSS there’s no change. Can you advise?

    Thanks

    #348569

    Hey user877!

    Thank you for using Enfold.

    Use this to remove the product image container:

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

    Cheers!
    Ismael

    #348686

    I removed functions.php code

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

    add_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_thumbnails’, 20 );

    and added your code to CSS, didn’t seem to work. Product image still shown.

    #348688

    Ive removed other CSS code and now works.

    Thanks for the top notch support :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Modded product page – issue with CSS’ is closed to new replies.