Home Forums Basel – Premium Template tab-additional_information

This topic contains 16 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 month ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #208798

    carolemahaie
    Customer

    Hi,
    In order to create a shipping rate, I need to give a weigt to each product but I don’t want it to appear on my product page in the Additional Information tab. How can I do not to show this tab on my single product page ?
    Thank you for your help

    Private Content Hidden
    #208846

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please add this code to the Theme Settings > Custom CSS > Global:

    .single-product-content .tabs li.additional_information_tab {
        display:none;
    }

    Best Regards

    #208889

    carolemahaie
    Customer

    Hi,
    Thank you but it doesn’t work: the tab doesn’t appear but the content of the tab still here (please see my screen capture). Have you another solution please?

    Thank you in advance
    Carole

    Attachments:
    You must be logged in to view attached files.
    #208935

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global aw well:

    body .woocommerce-tabs .basel-tab-wrapper:nth-child(2){
        display:none;
    }

    Best Regards

    #208944

    carolemahaie
    Customer

    Thank you but it doesn’t work, the content of my custom tab has also disappeared…
    Have you another solution please?
    Thank you very much
    Carole

    Attachments:
    You must be logged in to view attached files.
    #208966

    Hello,

    Please provide the site admin access to the private area as well as product page URL.

    Best Regards

    #208975

    carolemahaie
    Customer

    Thank you in advance for your help !
    Carole

    Private Content Hidden
    #209037

    Hello,

    I do not see any CSS in the Theme Settings > Custom CSS at the same time I see only one tab https://gyazo.com/dc51edecd4db1f91581a5776d4f2764a

    At the same, there is no other tabs: https://prnt.sc/td0in7

    Please remove the code so that I could check and provide a proper one if it is possible. You see all the tabs have one and the same classes and it is quite difficult to do with CSS.

    Best Regards

    #209046

    carolemahaie
    Customer

    Hi,
    I’ve written the css in Appearance > Personalize. I’ve put it now in the place you’ve indicate but the result is the same : I have only 1 tab now, which is good but I have to click to have the description. I’d like that the text concerning the delivery is visible without a click.
    Thank you
    Carole

    #209107

    Hello,

    Please remove all the CSS to the Dashboard > Theme Settings > Custom CSS. I will check once more.

    Best Regards

    #209122

    carolemahaie
    Customer

    Hello,

    I’ve just remove all the CSS to the Dashboard > Theme Settings > Custom CSS.
    Thank you in advance.
    Carole

    #209227

    Hello,

    When I disable the code which I have provided I see this: https://prnt.sc/tdhur5

    When I activate the code, I see this https://prnt.sc/tdhvlo As I understand you want to remove the Additional tab, it has been removed with the code. Please clarify your purpose.

    Best Regards

    #209243

    carolemahaie
    Customer

    Hi,

    This version (https://prnt.sc/tdhvlo) is great except that in order to see the text “Comment se déroule la livraison ?…” I have to click on the tab title. I’d like that the text of the tab is visible without I have to clic (the tab must be active by default). I hope you will understand me…
    Thank you in advance
    Carole

    #209356

    Hello,

    Please add this code to the functions.php of the child theme:

    function woo_remove_product_tabs( $tabs ) {
       unset( $tabs['additional_information'] );
       return $tabs;
    }
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );

    Best Regards

    #209379

    carolemahaie
    Customer

    Hi,

    I’ve just done it and now the tab content is no longer displayed… Please, can you check the code and tell me?

    Thank you

    Carole

    #209380

    carolemahaie
    Customer

    Sorry, in fact it’s all good, I’ve just try after removing the CSS !
    Thank you, have a nice day

    Carole MAHAIE

    #209405

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

You must be logged in to reply to this topic.