Home › Forums › Basel support forum › tab-additional_information
tab-additional_information
- This topic has 16 replies, 2 voices, and was last updated 3 years, 9 months ago by Elise Noromit.
-
AuthorPosts
-
July 5, 2020 at 11:15 pm #208798
carolemahaieParticipantHi,
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 helpJuly 6, 2020 at 7:38 am #208846
Elise NoromitMemberHello,
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
July 6, 2020 at 9:42 am #208889
carolemahaieParticipantHi,
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
CaroleAttachments:
You must be logged in to view attached files.July 6, 2020 at 11:47 am #208935
Elise NoromitMemberHello,
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
July 6, 2020 at 12:26 pm #208944
carolemahaieParticipantThank you but it doesn’t work, the content of my custom tab has also disappeared…
Have you another solution please?
Thank you very much
CaroleAttachments:
You must be logged in to view attached files.July 6, 2020 at 1:23 pm #208966
Elise NoromitMemberHello,
Please provide the site admin access to the private area as well as product page URL.
Best Regards
July 6, 2020 at 1:56 pm #208975
carolemahaieParticipantThank you in advance for your help !
CaroleJuly 6, 2020 at 9:46 pm #209037
Elise NoromitMemberHello,
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
July 6, 2020 at 10:22 pm #209046
carolemahaieParticipantHi,
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
CaroleJuly 7, 2020 at 6:27 am #209107
Elise NoromitMemberHello,
Please remove all the CSS to the Dashboard > Theme Settings > Custom CSS. I will check once more.
Best Regards
July 7, 2020 at 7:38 am #209122
carolemahaieParticipantHello,
I’ve just remove all the CSS to the Dashboard > Theme Settings > Custom CSS.
Thank you in advance.
CaroleJuly 7, 2020 at 3:27 pm #209227
Elise NoromitMemberHello,
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
July 7, 2020 at 4:20 pm #209243
carolemahaieParticipantHi,
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
CaroleJuly 8, 2020 at 8:37 am #209356
Elise NoromitMemberHello,
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
July 8, 2020 at 9:20 am #209379
carolemahaieParticipantHi,
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
July 8, 2020 at 9:28 am #209380
carolemahaieParticipantSorry, in fact it’s all good, I’ve just try after removing the CSS !
Thank you, have a nice dayCarole MAHAIE
July 8, 2020 at 11:28 am #209405
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register