• Resolved Royah Marie

    (@hautecreations)


    Hi, I am frustrated. It should NOT be this hard to remove a tab from the single product shop page. I want to keep the description and reviews and hide “Additional Information.” I switched to Astra from Storefront because I did not want to add a bunch of CSS but, here I am. I tried the CSS I used in Storefront to do this but it does not work in Astra so clearly I am missing something.

    Please help! Thank you.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to know how css work, use developer tools in your browser to get values. Also clear cache if changes are not displaying to your website.
    The css:

    li.additional_information_tab {
    display: none !important;
    }

    Thread Starter Royah Marie

    (@hautecreations)

    Hi, thank you for your response. That is the same CSS I tried before making this post, and it does not work.

    The element name is “h3.ast-accordion-header.ast-tab-header”

    In the developer tools I can set “element.style” to display: none and it works beautifully however, I can’t figure out how to generate the CSS to make it work like I can in the developer tools.

    Here is the developer tools HTML with my “display none” that is working.

    <h3 class="ast-accordion-header ast-tab-header" style="
        display: none;
    ">
    Additional information <span class="ahfb-svg-iconset ast-inline-flex"><svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z"></path></svg></span><span class="ahfb-svg-iconset ast-inline-flex"><svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 10h24v4h-24z"></path></svg></span> </h3>

    Hi @hautecreations,

    This official WooCommerce doc should help you.

    Let us know if you need more help, otherwise please mark the topic as Resolved.

    Kind regards,
    Herman ??

    Thread Starter Royah Marie

    (@hautecreations)

    This is brilliant. Thank you for sharing this! I had no idea this file existed!

    No problem. Happy can be a help, Royah!

    Feel free to start a new thread if there is anything else related to Astra, we can help you with.

    Kind regards,
    Herman ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove “Additional Information” Tab from Product Page’ is closed to new replies.