New Landing How can we help? Cardinal Hide elements on product page

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Cardinal
  • #89076
    Pothe
    Member
    Post count: 336

    Hi,
    I’ve been trying to hide elements on the product page using some custom css from Dante and trying to change it. Can’t seem to get it to work though.

    I need to hide the elements shown here:

    https://www.evernote.com/shard/s21/sh/134145e2-ac1c-42e1-9520-11f6f7654064/f72f493f1436149fec981bf75632dbeb

    Any help will be great. Thanks

    #89084
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .product_meta {
      display: none;
    }
    .product-share {
      display: none!important;
    }

    For the tabs I would need to see our link as the demo is using accordion instead of tabs

    – Kyle

    #89120
    Pothe
    Member
    Post count: 336

    Great, thanks a lot !

    #89128
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

    – Kyle

    #89172
    Pothe
    Member
    Post count: 336
    This reply has been marked as private.
    #89218
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert this code at functions.php at end of file just before ?> tag.

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
     
    function woo_remove_product_tabs( $tabs ) {
     
    unset( $tabs['additional_information'] ); // Remove the additional information tab
     
    return $tabs;
     
    }

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #89249
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Andrew,

    You can use the code above, but placed in a child theme may be better for keeping intact with updates!

    – Ed

    #89375
    Pothe
    Member
    Post count: 336

    Thanks.
    Is there a way to use the custom CSS? IN Dante I used this:

    
    /*Woo hide additional info */
    .panel:nth-child(2) {
      display: none;
    }
    
    #89388
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Yes you can:

    .additional_information_tab {
      display: none!important;
    }

    hope that helps

    – Kyle

    #89403
    Pothe
    Member
    Post count: 336

    Fantastic. Thanks Kylie.

    #89415
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Kyle* ๐Ÿ˜‰

    No problem

    – Kyle

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.