• Resolved johnbignose

    (@johnbignose)


    Hi,
    I’d like to remove description tab or box completely and move the Product description to the left side (Storefront Theme)! How can I do this? I’d be grateful for any help!
    Thanks!
    john

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    Hey,

    To modify the tabs take a look at the documentation here.

    To adjust the layout of the product page add the following css;

    
    @media (min-width: 768px) {
    .single-product div.product .woocommerce-product-gallery {
    float: right;
    }
    
    .single-product div.product .summary {
    float: left;
    }
    }
    

    That will swap the position of the product gallery and the short description around. Gallery on the right, description on the left.

    James
    Designer @ Automattic

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter johnbignose

    (@johnbignose)

    thanks james & kennin for your email, I was absent for a while! I found meanwhile the following code and solved the problem!

    add_filter( ‘woocommerce_product_tabs’, ‘remove_woocommerce_product_tabs’, 98 );

    function remove_woocommerce_product_tabs( $tabs ) {
    unset( $tabs[‘description’] );

    return $tabs;
    }
    add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_product_description_tab’ );

    john

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘woocommerce single product page’ is closed to new replies.