[Support request] Customize Product Data Tab

Home Forums Support [Support request] Customize Product Data Tab

Home Forums Support Customize Product Data Tab

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by Fernando.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2333450
    xinghui

    Hello, I used the code to change the tab name of the product data, and now I want the content under the tab to be displayed as my custom data content, how to solve it? In addition, I want my product tab to be centered, what should I do?
    imge:
    my image url:https://i.postimg.cc/4xwV0szn/tabs.jpg

    #2333492
    Fernando
    Customer Support

    Hi Xinghui,

    Perhaps this article might help?: https://woocommerce.com/document/editing-product-data-tabs/

    With regards to centering the tabs, can you provide a link to a single product page in your site?

    #2333499
    xinghui

    I have read this article, I used the code in it to rename my tab name, but my question now is, how can I make the content displayed in my tab defined by myself, such as the product’s More The Information Tab is defined by myself, then my data should also show my own definition, how to do this

    The link to the product I want to center is in the privacy box

    #2333504
    Fernando
    Customer Support

    Try adding this in Additional CSS to center the tab:

    ul.tabs.wc-tabs {
        justify-content: center;
    }

    With regards to modifying the content displayed in the tab, it would be best to ask WooCommerce support: https://wordpress.org/support/plugin/woocommerce/

    This article might help as well: https://rudrastyh.com/woocommerce/add-or-change-default-tab-content.html

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.